From 455854035763d8257f34f4a8295fef7a0d49181f Mon Sep 17 00:00:00 2001 From: Joe Boccanfuso <109477394+jbocce@users.noreply.github.com> Date: Thu, 9 Feb 2023 19:44:59 -0500 Subject: [PATCH] fix(cypress test): remove the click at beginning of the window level test: (#3158) 'OHIF Cornerstone Toolbar'.'checks if Levels tool will change the window width and center of an image'. --- .../measurement-tracking/OHIFCornerstoneToolbar.spec.js | 1 - 1 file changed, 1 deletion(-) diff --git a/platform/viewer/cypress/integration/measurement-tracking/OHIFCornerstoneToolbar.spec.js b/platform/viewer/cypress/integration/measurement-tracking/OHIFCornerstoneToolbar.spec.js index 175ded66a..27d4aa941 100644 --- a/platform/viewer/cypress/integration/measurement-tracking/OHIFCornerstoneToolbar.spec.js +++ b/platform/viewer/cypress/integration/measurement-tracking/OHIFCornerstoneToolbar.spec.js @@ -84,7 +84,6 @@ describe('OHIF Cornerstone Toolbar', () => { //drags the mouse inside the viewport to be able to interact with series cy.get('@viewport') - .click({ force: true }) .trigger('mousedown', 'center', { buttons: 1 }) // Since we have scrollbar on the right side of the viewport, we need to // force the mousemove since it goes to another element