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 -1
View File
@@ -1,7 +1,9 @@
describe('Basic Flow Rendering', () => {
it('renders a flow with three nodes', () => {
before(() => {
cy.visit('/basic');
});
it('renders a flow with three nodes', () => {
cy.get('.react-flow__renderer');
cy.get('.react-flow-basic-example'); // check if className prop works
cy.get('.react-flow__node').should('have.length', 4);