Skip to content

Commit

Permalink
e2e: uses manager's page
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez authored and Andrés González committed Oct 16, 2024
1 parent 81e0a95 commit a1a0cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/tests/auth/update-email.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<User, "email" | "password" | "partnerName"> = {
email: "[email protected]",
password: "12345678",
Expand All @@ -52,6 +52,6 @@ test.describe("Auth - Sign In", () => {
email: newEmail,
} as User);

await expect(testManager.getPage()).toHaveURL("/profile");
await expect(page).toHaveURL("/profile");
});
});

0 comments on commit a1a0cb5

Please sign in to comment.