refactor(cypress): cleanup

This commit is contained in:
moklick
2022-03-14 17:13:20 +01:00
parent 2d714dcb9d
commit 3b8756316b
7 changed files with 21 additions and 39 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ describe('Empty Flow Rendering', () => {
});
it('connects nodes', () => {
cy.get('.react-flow__node').first().find('.react-flow__handle.source').trigger('mousedown', { which: 1 });
cy.get('.react-flow__node').first().find('.react-flow__handle.source').trigger('mousedown', { button: 0 });
cy.get('.react-flow__node')
.last()