refactor(tests): update viewport page object usage to async and update all effected tests (#5927)
This commit is contained in:
1 parent
485f0d75d9
commit
2a728b244c
46 files changed
+240
-181
No files matched your search
@@ -9,7 +9,8 @@ test('should restrict the percentage of max SUV to be between 0 and 1', async ({
|
||||
const mode = 'tmtv';
|
||||
await visitStudy(page, studyInstanceUID, mode, 10000);
|
||||
|
||||
await viewportPageObject.getById('ptAXIAL').normalizedClickAt([{ x: 0.5, y: 0.5 }]);
|
||||
const viewport = await viewportPageObject.getById('ptAXIAL');
|
||||
await viewport.normalizedClickAt([{ x: 0.5, y: 0.5 }]);
|
||||
|
||||
await rightPanelPageObject.tmtvPanel.addSegmentationButton.click();
|
||||
|
||||
|
||||
Reference in new issue
Block a user