test(stress): add spec
This commit is contained in:
@@ -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);
|
||||||
|
});
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user