chore: recovery 2 (#5014) merge to 3.11 (#5175)

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:
authored and GitHub committed 2025-07-03 14:08:46 -04:00
1 parent 17ed63eb1d
commit 24e0263fb9
44 files changed
+516 -258

No files matched your search

+6 -5
View File
@@ -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,
});
});
});