Merge pull request #20195 from timvandermeij/fix-chrome-windows

Skip the curvature ink editor integration test for Chrome on Windows
This commit is contained in:
Tim van der Meij 2025-08-25 21:35:13 +02:00 committed by GitHub
commit bde01f0998
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1216,6 +1216,13 @@ describe("The pen-drawn shape must maintain correct curvature regardless of the
it("must retain correct curvature regardless of the page or the curve's endpoint location", async () => {
await Promise.all(
pages.map(async ([browserName, page]) => {
if (browserName === "chrome" && navigator.platform.includes("Win")) {
// Skip the test for Chrome on Windows because it doesn't allow to
// have elements outside the viewport and thus permafails with e.g.
// `Cannot move beyond viewport (x: -32, y: 241)`.
return;
}
await switchToInk(page);
// Creating a reference curve on the first page with end