fix: #15989 disable country prefill in phone input (#15991)

* default country disabled in phone input

* Update PhoneInput.tsx

* update event-types e2e

---------

Co-authored-by: Anik Dhabal Babu <[email protected]>
This commit is contained in:
VijayandAnik Dhabal Babu authored and GitHub committed 2024-07-31 00:20:37 +03:00
1 parent 41e565fcf8
commit d21c91c519
2 files changed
+2 -5

No files matched your search

+2 -2
View File
@@ -190,7 +190,7 @@ testBothFutureAndLegacyRoutes.describe("Event Types tests", () => {
await gotoBookingPage(page);
await selectFirstAvailableTimeSlotNextMonth(page);
await page.locator(`[data-fob-field-name="location"] input`).fill("9199999999");
await page.locator(`[data-fob-field-name="location"] input`).fill("19199999999");
await bookTimeSlot(page);
await expect(page.locator("[data-testid=success-page]")).toBeVisible();
@@ -204,7 +204,7 @@ testBothFutureAndLegacyRoutes.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("9199999999");
await page.locator(`input[name="${locationInputName}"]`).fill("19199999999");
await saveEventType(page);
await gotoBookingPage(page);