diff --git a/cypress/integration/flow/stress.spec.js b/cypress/integration/flow/stress.spec.js new file mode 100644 index 00000000..e289ef11 --- /dev/null +++ b/cypress/integration/flow/stress.spec.js @@ -0,0 +1,10 @@ +describe('Stress Graph Rendering', () => { + it('renders a graph', () => { + cy.visit('/stress'); + + cy.get('.react-flow__renderer'); + + cy.get('.react-flow__node').should('have.length', 100); + cy.get('.react-flow__edge').should('have.length', 99); + }); +}); diff --git a/example/public/index.html b/example/public/index.html index c240d2ca..b8f90c04 100644 --- a/example/public/index.html +++ b/example/public/index.html @@ -4,40 +4,12 @@ - - - - - - -