From 01a08f6a2737360a3a83a77e077217717eb30a58 Mon Sep 17 00:00:00 2001 From: moklick Date: Mon, 3 Aug 2020 17:31:41 +0200 Subject: [PATCH] fix(test): empty test pane drag --- cypress/integration/flow/empty.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/flow/empty.spec.js b/cypress/integration/flow/empty.spec.js index 28853dfd..300dc850 100644 --- a/cypress/integration/flow/empty.spec.js +++ b/cypress/integration/flow/empty.spec.js @@ -14,8 +14,8 @@ describe('Empty Flow Rendering', () => { .type('{shift}', { release: false }) .get('.react-flow__selectionpane') .trigger('mousedown', 'topLeft', { which: 1, force: true }) - .trigger('mousemove', 'bottomRight', { which: 1 }) - .trigger('mouseup', 'bottomRight', { force: true }); + .trigger('mousemove', 'bottomLeft', { which: 1 }) + .trigger('mouseup', 'bottomLeft', { force: true }); }); it('renders an empty mini map', () => {