2025-11-20 11:29:14 -03:00
|
|
|
import { checkForScreenshot, screenShotPaths, test, visitStudy } from './utils/index.js';
|
2024-05-21 14:48:35 -04:00
|
|
|
|
|
|
|
|
test.beforeEach(async ({ page }) => {
|
2024-06-25 10:16:51 -04:00
|
|
|
const studyInstanceUID = '1.3.6.1.4.1.14519.5.2.1.1706.8374.643249677828306008300337414785';
|
2025-01-29 13:36:52 -05:00
|
|
|
const mode = 'viewer';
|
2024-06-05 13:09:53 -04:00
|
|
|
await visitStudy(page, studyInstanceUID, mode, 2000);
|
2024-05-21 14:48:35 -04:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
test.describe('MPR Test', async () => {
|
2025-11-20 11:29:14 -03:00
|
|
|
test('should render MPR correctly.', async ({ page, mainToolbarPageObject }) => {
|
|
|
|
|
await mainToolbarPageObject.layoutSelection.MPR.click();
|
2024-05-21 14:48:35 -04:00
|
|
|
await checkForScreenshot(page, page, screenShotPaths.mpr.mprDisplayedCorrectly);
|
|
|
|
|
});
|
|
|
|
|
});
|