Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions tests/3DPrimary.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ test.describe('3D primary Test', async () => {

await attemptAction(() => reduce3DViewportSize(page), 10, 100);
await waitForViewportsRendered(page);
await checkForScreenshot(
await checkForScreenshot({
page,
viewportPageObject.grid,
screenShotPaths.threeDPrimary.threeDPrimaryDisplayedCorrectly
);
locator: viewportPageObject.grid,
// Volume-3D ray-cast output is GPU/driver-noisy run-to-run; match the
// tolerance already used by the sibling 3DOnly test.
maxDiffPixelRatio: 0.04,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wayfarer3130 I have incorporated this into PR #6067

screenshotPath: screenShotPaths.threeDPrimary.threeDPrimaryDisplayedCorrectly,
});
});
});
Loading