Skip to content

Commit

Permalink
try to fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Sep 18, 2023
1 parent 00ba117 commit 2371ff9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions platform/app/cypress/integration/MultiStudy.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ describe('OHIF Multi Study', () => {
cy.expectMinimumThumbnails(4);
cy.initCornerstoneToolsAliases();
cy.initCommonElementsAliases();
cy.waitDicomImage();
};

it('Should display 2 comparison up', () => {
Expand Down
4 changes: 2 additions & 2 deletions platform/app/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ Cypress.Commands.add('addLine', (viewport, firstClick, secondClick) => {

// The wait is necessary because of double click testing
cy.wrap($viewport)
.click(x1, y1)
.click(x1, y1, { force: true })
.wait(250)
.trigger('mousemove', { clientX: x2, clientY: y2 })
.click(x2, y2)
.click(x2, y2, { force: true })
.wait(250);
});
});
Expand Down

0 comments on commit 2371ff9

Please sign in to comment.