Skip the curvature ink editor integration test for Chrome on Windows

This test permafails for that particular OS/browser combination.

Fixes 18d3dc18.
This commit is contained in:
Tim van der Meij 2025-08-25 20:02:32 +02:00
parent ab41f5095c
commit 11d5d6d0ce
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762

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