Co-authored-by: Alireza <ar.sedghi@gmail.com> Co-authored-by: Dan Rukas <dan.rukas@gmail.com> Co-authored-by: Tang Cheng <45505657+tctco@users.noreply.github.com>
This commit is contained in:
44 files changed
+516
-258
No files matched your search
@@ -22,11 +22,12 @@ test.describe('3D only Test', async () => {
|
||||
.first()
|
||||
.click();
|
||||
await attemptAction(() => reduce3DViewportSize(page), 10, 100);
|
||||
await checkForScreenshot(
|
||||
// Use a 4 percent diff pixel ratio to account for slight color differences in the 3D viewport
|
||||
await checkForScreenshot({
|
||||
page,
|
||||
page,
|
||||
screenShotPaths.threeDOnly.threeDOnlyDisplayedCorrectly,
|
||||
200
|
||||
);
|
||||
locator: page,
|
||||
screenshotPath: screenShotPaths.threeDOnly.threeDOnlyDisplayedCorrectly,
|
||||
maxDiffPixelRatio: 0.04,
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user