tests(Playwright): Full implementation of Page Object Models (POMs) to Playwright tests (#5608)
This commit is contained in:
1 parent
7b12dcf048
commit
d917e74e68
58 files changed
+1167
-496
No files matched your search
@@ -16,6 +16,8 @@ test.beforeEach(async ({ page }) => {
|
||||
test.describe('3D four up SEG hydration', async () => {
|
||||
test('should properly hydrate SEG from 3D four up layout', async ({
|
||||
page,
|
||||
DOMOverlayPageObject,
|
||||
leftPanelPageObject,
|
||||
mainToolbarPageObject,
|
||||
}) => {
|
||||
await mainToolbarPageObject.layoutSelection.threeDFourUp.click();
|
||||
@@ -30,7 +32,7 @@ test.describe('3D four up SEG hydration', async () => {
|
||||
screenShotPaths.segHydrationFrom3DFourUp.threeDFourUpBeforeSEG
|
||||
);
|
||||
|
||||
await page.getByTestId('study-browser-thumbnail-no-image').dblclick();
|
||||
await leftPanelPageObject.loadSeriesByDescription('SEG');
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
await checkForScreenshot(
|
||||
@@ -39,7 +41,7 @@ test.describe('3D four up SEG hydration', async () => {
|
||||
screenShotPaths.segHydrationFrom3DFourUp.threeDFourUpAfterSEG
|
||||
);
|
||||
|
||||
await page.getByTestId('yes-hydrate-btn').click();
|
||||
await DOMOverlayPageObject.viewport.segmentationHydration.yes.click();
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
await checkForScreenshot(
|
||||
|
||||
Reference in new issue
Block a user