diff --git a/apps/web/playwright/event-types.e2e.ts b/apps/web/playwright/event-types.e2e.ts index 2293747285..55aa7d5285 100644 --- a/apps/web/playwright/event-types.e2e.ts +++ b/apps/web/playwright/event-types.e2e.ts @@ -205,8 +205,9 @@ test.describe("Event Types tests", () => { await saveEventType(page); await gotoBookingPage(page); await selectFirstAvailableTimeSlotNextMonth(page); - - await page.locator(`[data-fob-field-name="location"] input`).fill("19199999999"); + const locationInput = page.locator(`[data-fob-field-name="location"] input`); + await locationInput.clear(); + await locationInput.fill("+19199999999"); await bookTimeSlot(page); await expect(page.locator("[data-testid=success-page]")).toBeVisible(); @@ -220,7 +221,8 @@ test.describe("Event Types tests", () => { await page.locator(`text="Organizer Phone Number"`).click(); const locationInputName = "locations[0].hostPhoneNumber"; await page.locator(`input[name="${locationInputName}"]`).waitFor(); - await page.locator(`input[name="${locationInputName}"]`).fill("19199999999"); + await page.locator(`input[name="${locationInputName}"]`).clear(); + await page.locator(`input[name="${locationInputName}"]`).fill("+19199999999"); await saveEventType(page); await gotoBookingPage(page);