diff --git a/e2e/tests/auth/update-email.spec.ts b/e2e/tests/auth/update-email.spec.ts index 02cc9031..8cbd6f8a 100644 --- a/e2e/tests/auth/update-email.spec.ts +++ b/e2e/tests/auth/update-email.spec.ts @@ -26,7 +26,7 @@ test.describe("Auth - Sign In", () => { await testManager.close(); }); - test("Auth - Update user email", async ({ page }) => { + test("Auth - Update user email", async () => { const user: Pick = { email: "jhondoe@test.com", password: "12345678", @@ -52,6 +52,6 @@ test.describe("Auth - Sign In", () => { email: newEmail, } as User); - await expect(testManager.getPage()).toHaveURL("/profile"); + await expect(page).toHaveURL("/profile"); }); });