text(event-handler): add tests for pane handlers

This commit is contained in:
moklick
2022-08-31 15:58:49 +02:00
parent ce1d97ad65
commit a9b3ef1d5e
3 changed files with 41 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ Cypress.Commands.add('dragPane', ({ from, to }) =>
.then((window) =>
cy
.get('.react-flow__pane')
.trigger('mousedown', from.x, from.y, { which: 1, view: window })
.trigger('mousedown', from.x, from.y, { view: window })
.trigger('mousemove', to.x, to.y)
.trigger('mouseup', { force: true, view: window })
)