Skip to content

Commit

Permalink
improve e2e test flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
fungairino committed Jul 3, 2024
1 parent 7233420 commit 8ebb083
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion end-to-end-tests/pageObjects/extensionConsole/modsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class ModsPage extends BasePageObject {
.context()
.waitForEvent("requestfinished", {
predicate: (request) => request.url().includes("/api/registry/bricks/"),
timeout: 10_000,
timeout: 15_000,
});
await this.page.goto(this.extensionConsoleUrl);
await expect(this.getByText("Extension Console")).toBeVisible();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test("#8740: can view the starter mods on the pixiebrix.com/welcome page", async
const sideBarPage = await getSidebarPage(page, extensionId);
await expect(
sideBarPage.getByRole("heading", { name: "Announcements" }),
).toBeVisible();
).toBeVisible({ timeout: 8000 });
await expect(
sideBarPage.getByRole("heading", { name: "Decision Tree" }),
).toBeVisible();
Expand Down

0 comments on commit 8ebb083

Please sign in to comment.