Skip to content

Commit

Permalink
test: increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore committed Jan 10, 2025
1 parent 848a87e commit c9e6eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/previews.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ test("supports custom update endpoint", async ({ appPage, repo, pageDoc }) => {
);
await appPage.preview(updatedDocument);
await appPage.goToDocument(updatedDocument, "/with-custom-preview-endpoints");
await expect(appPage.payload).toContainText("foo");
await expect(appPage.payload).toContainText("foo", { timeout: 30000 });
await expect(appPage.toolbar).toHaveCount(1);
await repo.createDocumentDraft(updatedDocument, content({ payload: "bar" }));
await expect(appPage.payload).toContainText("bar");
Expand All @@ -98,7 +98,7 @@ test("supports custom exit endpoint", async ({ appPage, repo, pageDoc }) => {
);
await appPage.preview(updatedDocument);
await appPage.goToDocument(updatedDocument, "/with-custom-preview-endpoints");
await expect(appPage.payload).toContainText("foo");
await expect(appPage.payload).toContainText("foo", { timeout: 30000 });
await expect(appPage.toolbar).toHaveCount(1);
await appPage.exitPreview();
await expect(appPage.payload).not.toContainText("foo");
Expand Down

0 comments on commit c9e6eea

Please sign in to comment.