Make CI run cross-platform (#295)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { test } from "./helpers/test_helper";
|
||||
import { test, Timeout } from "./helpers/test_helper";
|
||||
import { expect } from "@playwright/test";
|
||||
|
||||
test("write to index, approve, check preview", async ({ po }) => {
|
||||
@@ -11,6 +11,8 @@ test("write to index, approve, check preview", 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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user