test(contour): Add the ContourSegmentToggleLock.spec.ts test file to test contour locking (#6072)
This commit is contained in:
1 parent
1f6670c602
commit
b24f039735
10 files changed
+253
-55
No files matched your search
@@ -1,19 +1,17 @@
|
||||
import { expect, test, visitStudy } from './utils';
|
||||
import { expect, test, visitStudyAndHydrate } from './utils';
|
||||
|
||||
const studyInstanceUID = '1.2.840.113619.2.290.3.3767434740.226.1600859119.501';
|
||||
const defautSegment0Name = 'Threshold';
|
||||
const defautSegment1Name = 'Big Sphere';
|
||||
|
||||
test.beforeEach(async ({
|
||||
page,
|
||||
leftPanelPageObject,
|
||||
DOMOverlayPageObject
|
||||
}) => {
|
||||
const mode = 'segmentation';
|
||||
await visitStudy(page, studyInstanceUID, mode, 2000);
|
||||
await leftPanelPageObject.loadSeriesByModality('RTSTRUCT');
|
||||
await page.waitForTimeout(5000);
|
||||
await DOMOverlayPageObject.viewport.segmentationHydration.yes.click();
|
||||
test.beforeEach(async ({ page, leftPanelPageObject, DOMOverlayPageObject }) => {
|
||||
await visitStudyAndHydrate({
|
||||
page,
|
||||
leftPanelPageObject,
|
||||
DOMOverlayPageObject,
|
||||
studyInstanceUID,
|
||||
modality: 'RTSTRUCT',
|
||||
});
|
||||
});
|
||||
|
||||
test('should rename contour segments', async ({
|
||||
|
||||
Reference in new issue
Block a user