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("auto-approve", async ({ po }) => {
@@ -7,6 +7,8 @@ test("auto-approve", async ({ po }) => {
await po.snapshotMessages();
// This can be pretty slow because it's waiting for the app to build.
await expect(po.getPreviewIframeElement()).toBeVisible({ timeout: 15_000 });
await expect(po.getPreviewIframeElement()).toBeVisible({
timeout: Timeout.LONG,
});
await po.snapshotPreview();
});