tests: start fixing cypress tests.

This commit is contained in:
Jack Fishwick
2022-11-22 10:55:06 +00:00
parent 3c94b22ac1
commit 44097c15c9
7 changed files with 119 additions and 119 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ describe('Controls Testing', () => {
// https://github.com/cypress-io/cypress/issues/3441
cy.window().then((win) => {
cy.get('.react-flow__renderer')
.trigger('mousedown', 'topLeft', { which: 1, view: win })
.trigger('mousedown', 'topLeft', { button: 0, view: win })
.trigger('mousemove', 10, 400)
.wait(50)
.trigger('mouseup', 10, 400, { force: true, view: win })