Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/onboarding/magic-link.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ test("google login fails with expired auth token cookie", async ({ page, customC
const hostPattern = new URL(baseUrl).hostname.replace(/\./g, '\\.');
await expect(cleanPage).toHaveURL(new RegExp(hostPattern), { timeout: 30000 });

// Assert that login fails with "Auth code not found" error
await expect(cleanPage.getByText("Auth code not found, please try again.")).toBeVisible({ timeout: 15000 });
// Assert that login fails with "session expired" error
await expect(cleanPage.getByText("Your session expired. Please try logging in again.")).toBeVisible({ timeout: 15000 });

// Assert that the expired auth cookie has been deleted
const cookies = await context.cookies();
Expand Down
Loading