2025-11-20 15:29:14 +01:00
|
|
|
import { checkForScreenshot, screenShotPaths, test, visitStudy } from './utils';
|
2025-07-02 14:38:22 +02:00
|
|
|
|
|
|
|
|
test.beforeEach(async ({ page }) => {
|
|
|
|
|
const studyInstanceUID = '1.3.6.1.4.1.5962.99.1.2968617883.1314880426.1493322302363.3.0';
|
|
|
|
|
const mode = 'viewer';
|
|
|
|
|
await visitStudy(page, studyInstanceUID, mode, 2000);
|
|
|
|
|
});
|
|
|
|
|
|
2025-11-20 15:29:14 +01:00
|
|
|
test('should launch MPR with unhydrated RTSTRUCT', async ({ page, mainToolbarPageObject }) => {
|
2025-07-02 14:38:22 +02:00
|
|
|
await page.getByTestId('side-panel-header-right').click();
|
|
|
|
|
await page.getByTestId('study-browser-thumbnail-no-image').dblclick();
|
|
|
|
|
|
2025-07-10 15:33:39 +02:00
|
|
|
await page.waitForTimeout(5000);
|
|
|
|
|
|
2025-07-02 14:38:22 +02:00
|
|
|
await checkForScreenshot(page, page, screenShotPaths.rtNoHydrationThenMPR.rtNoHydrationPreMPR);
|
|
|
|
|
|
2025-11-20 15:29:14 +01:00
|
|
|
await mainToolbarPageObject.layoutSelection.MPR.click();
|
2025-07-02 14:38:22 +02:00
|
|
|
|
2025-07-10 15:33:39 +02:00
|
|
|
await page.waitForTimeout(5000);
|
|
|
|
|
|
2025-07-02 14:38:22 +02:00
|
|
|
await checkForScreenshot(page, page, screenShotPaths.rtNoHydrationThenMPR.rtNoHydrationPostMPR);
|
|
|
|
|
});
|