test(e2e): replace waitForVolumeLoad with viewport render waits (#6000)

This commit is contained in:
Ghadeer Albattarni authored and GitHub committed 2026-05-07 15:42:12 -04:00
1 parent fbea158473
commit 9cf3149d2a
12 files changed
+98 -55

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@ import {
screenShotPaths,
test,
visitStudy,
waitForViewportsRendered,
} from './utils';
test.beforeEach(async ({ page }) => {
@@ -17,7 +18,7 @@ test.describe('3D main Test', async () => {
test('should render 3D main correctly.', async ({ page, mainToolbarPageObject }) => {
await mainToolbarPageObject.layoutSelection.threeDMain.click();
await attemptAction(() => reduce3DViewportSize(page), 10, 100);
await mainToolbarPageObject.waitForVolumeLoad();
await waitForViewportsRendered(page);
await checkForScreenshot(page, page, screenShotPaths.threeDMain.threeDMainDisplayedCorrectly);
});
});