Make CI run cross-platform (#295)

This commit is contained in:
Will Chen
2025-06-03 13:04:16 -07:00
committed by GitHub
parent 83eb721323
commit 7235eab227
16 changed files with 149 additions and 59 deletions

View File

@@ -1,4 +1,4 @@
import { test } from "./helpers/test_helper";
import { test, Timeout } from "./helpers/test_helper";
import { expect } from "@playwright/test";
test("undo", async ({ po }) => {
@@ -11,7 +11,7 @@ test("undo", async ({ po }) => {
iframe.contentFrame().getByText("Testing:write-index(2)!"),
).toBeVisible({
// This can be pretty slow because it's waiting for the app to build.
timeout: 15_000,
timeout: Timeout.LONG,
});
await po.clickUndo();
@@ -20,7 +20,7 @@ test("undo", async ({ po }) => {
iframe.contentFrame().getByText("Testing:write-index!"),
).toBeVisible({
// Also, could be slow.
timeout: 15_000,
timeout: Timeout.LONG,
});
await po.clickUndo();
@@ -29,6 +29,6 @@ test("undo", async ({ po }) => {
iframe.contentFrame().getByText("Welcome to Your Blank App"),
).toBeVisible({
// Also, could be slow.
timeout: 15_000,
timeout: Timeout.LONG,
});
});