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('Overview Flow Rendering', () => {
it('renders a flow', () => {
before(() => {
cy.visit('/');
});
it('renders a flow', () => {
cy.get('.react-flow__renderer');
cy.get('.react-flow__node').should('have.length', 7);
cy.get('.react-flow__edge').should('have.length', 6);
});