From 464f951359f0a25aa7cafad75cb061e9cccdd0ae Mon Sep 17 00:00:00 2001 From: moklick Date: Mon, 28 Oct 2019 18:57:29 +0100 Subject: [PATCH] test(stress): add spec --- cypress/integration/flow/stress.spec.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cypress/integration/flow/stress.spec.js 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); + }); +});