refactor(examples): update custom node example, create rich example
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
describe('Custom Node Graph Rendering', () => {
|
||||
it('renders a graph', () => {
|
||||
cy.visit('/custom-node');
|
||||
|
||||
cy.get('.react-flow__renderer');
|
||||
|
||||
cy.get('.react-flow__node').should('have.length', 4);
|
||||
cy.get('.react-flow__edge').should('have.length', 3);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user