From e9534a12fe9554186b93d289fc2d6c39dc8a059e Mon Sep 17 00:00:00 2001 From: Ibrahim Date: Fri, 20 Dec 2024 11:00:58 -0500 Subject: [PATCH] wait --- platform/app/cypress/integration/volume/MPR.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();