test(minimap): add tests

This commit is contained in:
moklick
2020-07-21 11:37:36 +02:00
parent 8e7fcced9b
commit edbc41963b
3 changed files with 68 additions and 5 deletions
@@ -0,0 +1,10 @@
describe('Custom Node Flow Rendering', () => {
it('renders a flow', () => {
cy.visit('/custom-node');
cy.get('.react-flow__renderer');
cy.get('.react-flow__node').should('have.length', 4);
cy.get('.react-flow__edge').should('have.length', 3);
});
});