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