diff --git a/platform/app/cypress/integration/volume/MPR.spec.js b/platform/app/cypress/integration/volume/MPR.spec.js index 5677468ca30..4c34e7a5003 100644 --- a/platform/app/cypress/integration/volume/MPR.spec.js +++ b/platform/app/cypress/integration/volume/MPR.spec.js @@ -38,8 +38,9 @@ describe('OHIF MPR', () => { cy.window() .its('cornerstone') .then(cornerstone => { - const viewports = cornerstone.getRenderingEngines()[0].getViewports(); + cy.wait(4000); + const viewports = cornerstone.getRenderingEngines()[0].getViewports(); // The stack viewport still exists after the changes to viewportId and inde const imageData1 = viewports[0].getImageData(); const imageData2 = viewports[1].getImageData();