chore(testing): Setup new self-hosted test runner (#6067)
This commit is contained in:
1 parent
6e2d53f280
commit
0dd6571505
8 files changed
+139
-49
No files matched your search
@@ -24,7 +24,6 @@ test('should launch MPR with unhydrated RTSTRUCT chosen from the data overlay me
|
||||
const dataOverlayPageObject = (await viewportPageObject.getById('default')).overlayMenu
|
||||
.dataOverlay;
|
||||
await dataOverlayPageObject.toggle();
|
||||
const viewportRenderCycle = waitForViewportRenderCycle(page);
|
||||
await dataOverlayPageObject.addSegmentation('ARIA RadOnc Structure Sets');
|
||||
|
||||
// Adding an overlay should not show the LOAD button.
|
||||
@@ -32,8 +31,7 @@ test('should launch MPR with unhydrated RTSTRUCT chosen from the data overlay me
|
||||
|
||||
// Hide the overlay menu.
|
||||
await dataOverlayPageObject.toggle();
|
||||
|
||||
await viewportRenderCycle;
|
||||
await waitForViewportsRendered(page);
|
||||
|
||||
await checkForScreenshot(
|
||||
page,
|
||||
@@ -43,8 +41,8 @@ test('should launch MPR with unhydrated RTSTRUCT chosen from the data overlay me
|
||||
|
||||
await mainToolbarPageObject.layoutSelection.MPR.click();
|
||||
|
||||
await waitForViewportsRendered(page, { timeout: 40000 });
|
||||
|
||||
// Waiting for the render via waitForViewportRenderCycle appears to wait 'forever', so instead
|
||||
// we use the baked in wait for screenshot comparisons.
|
||||
await checkForScreenshot(
|
||||
page,
|
||||
viewportPageObject.grid,
|
||||
|
||||
Reference in new issue
Block a user