test(interaction): add tests

This commit is contained in:
moklick
2020-07-21 12:50:53 +02:00
parent edbc41963b
commit d642d66574
10 changed files with 110 additions and 13 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
describe('Stress Flow Rendering', () => {
it('renders initial flow', () => {
before(() => {
cy.visit('/stress');
});
it('renders initial flow', () => {
cy.get('.react-flow__renderer');
cy.get('.react-flow__node').should('have.length', 100);
cy.get('.react-flow__edge').should('have.length', 99);
});