feat(tests): add cypress

This commit is contained in:
moklick
2019-09-25 21:33:20 +02:00
parent f6513eff10
commit a6dbd8ebe1
50 changed files with 97906 additions and 11 deletions
+8
View File
@@ -0,0 +1,8 @@
describe('Basis Flow', function() {
it('renders a flow with some nodes', function() {
cy.visit('/basic.html');
cy.get('.react-graph__node').should('have.length', 3);
cy.get('.react-graph__edge').should('have.length', 2);
});
})