test(e2e): update mock specs for splash changes

This commit is contained in:
2026-07-03 17:39:35 +08:00
parent 186b4d934d
commit 36636ad77b
3 changed files with 13 additions and 8 deletions
@@ -21,7 +21,7 @@ test("user can email login from other sign-in options and return to chat", async
await page
.getByRole("button", { name: "Sign up to unlock more features" })
.click();
await expect(page).toHaveURL(/\/auth$/);
await expect(page).toHaveURL(/\/auth(?:\?.*)?$/);
await switchToEmailSignIn(page);
const loginRequest = await submitEmailLogin(page, { expectedUrl: /\/chat$/ });