Scheduling infrastructure for absolutely everyone.
fix: update email flaky test (#13727)
Udit Takkare1b10b4ec55f
diff --git a/apps/web/playwright/profile.e2e.ts b/apps/web/playwright/profile.e2e.tsindex 967c40c5857..f4b61bfe011 100644--- a/apps/web/playwright/profile.e2e.ts+++ b/apps/web/playwright/profile.e2e.ts@@ -143,8 +143,12 @@ test.describe("Update Profile", () => {const successLocator = await page.waitForSelector('[data-testId="toast-success"]');expect(await successLocator.textContent()).toContain(email);++ // After email verification is successfull. user is sent to /event-types+ await page.waitForURL("/event-types");+await page.goto("/settings/my-account/profile");- const emailInputUpdated = page.getByTestId("profile-form-email");+ const emailInputUpdated = await page.getByTestId("profile-form-email");expect(await emailInputUpdated.inputValue()).toEqual(email);});test("Can update a users email (verification disabled)", async ({ page, users, prisma, features }) => {