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:
parent
ab41f5095c
commit
11d5d6d0ce
@ -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 () => {
|
it("must retain correct curvature regardless of the page or the curve's endpoint location", async () => {
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
pages.map(async ([browserName, page]) => {
|
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);
|
await switchToInk(page);
|
||||||
|
|
||||||
// Creating a reference curve on the first page with end
|
// Creating a reference curve on the first page with end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user