test(improve-setup): sharding configuration, allow accessing cornerstone methods and events in tests, and add types (#4255)
This commit is contained in:
1 parent
2bcdb52db9
commit
c9cc372581
21 files changed
+113
-26
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import { test } from '@playwright/test';
|
||||
import { visitStudy, checkForScreenshot, screenShotPaths } from './utils';
|
||||
import { visitStudy, checkForScreenshot, screenShotPaths, reduce3DViewportSize } from './utils';
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
const studyInstanceUID = '2.16.840.1.114362.1.11972228.22789312658.616067305.306.2';
|
||||
const studyInstanceUID = '1.3.6.1.4.1.14519.5.2.1.1706.8374.643249677828306008300337414785';
|
||||
const mode = 'Basic Viewer';
|
||||
await visitStudy(page, studyInstanceUID, mode, 2000);
|
||||
});
|
||||
@@ -15,6 +15,7 @@ test.describe('3D main Test', async () => {
|
||||
.filter({ hasText: /^3D main$/ })
|
||||
.first()
|
||||
.click();
|
||||
await reduce3DViewportSize(page);
|
||||
await checkForScreenshot(
|
||||
page,
|
||||
page,
|
||||
|
||||
Reference in new issue
Block a user