test(stress): add spec

This commit is contained in:
moklick
2019-10-28 18:57:29 +01:00
parent c78fc0d863
commit 464f951359

View File

@@ -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);
});
});