Skip to content

Commit

Permalink
test: increase timeout for e2e tests (#1867)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts authored Oct 11, 2023
1 parent 3c94333 commit 2e0a175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/UnsignedUsersRedirects.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { test, expect } from "@playwright/test";

test("Homepage redirects to /feed for unsigned users", async ({ page }) => {
await page.goto("/");
await expect(page).toHaveURL(/\/feed/, { timeout: 10000 });
await expect(page).toHaveURL(/\/feed/, { timeout: 20000 });
});

test("Insights Hub redirects to /feed for unsigned users", async ({ page }) => {
await page.goto("/hub/insights");
await expect(page).toHaveURL(/\/feed/, { timeout: 10000 });
await expect(page).toHaveURL(/\/feed/, { timeout: 20000 });
});

0 comments on commit 2e0a175

Please sign in to comment.