File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,9 @@ test.describe("Event Types tests", () => {
205205 await saveEventType ( page ) ;
206206 await gotoBookingPage ( page ) ;
207207 await selectFirstAvailableTimeSlotNextMonth ( page ) ;
208-
209- await page . locator ( `[data-fob-field-name="location"] input` ) . fill ( "19199999999" ) ;
208+ const locationInput = page . locator ( `[data-fob-field-name="location"] input` ) ;
209+ await locationInput . clear ( ) ;
210+ await locationInput . fill ( "+19199999999" ) ;
210211 await bookTimeSlot ( page ) ;
211212
212213 await expect ( page . locator ( "[data-testid=success-page]" ) ) . toBeVisible ( ) ;
@@ -220,7 +221,8 @@ test.describe("Event Types tests", () => {
220221 await page . locator ( `text="Organizer Phone Number"` ) . click ( ) ;
221222 const locationInputName = "locations[0].hostPhoneNumber" ;
222223 await page . locator ( `input[name="${ locationInputName } "]` ) . waitFor ( ) ;
223- await page . locator ( `input[name="${ locationInputName } "]` ) . fill ( "19199999999" ) ;
224+ await page . locator ( `input[name="${ locationInputName } "]` ) . clear ( ) ;
225+ await page . locator ( `input[name="${ locationInputName } "]` ) . fill ( "+19199999999" ) ;
224226
225227 await saveEventType ( page ) ;
226228 await gotoBookingPage ( page ) ;
You can’t perform that action at this time.
0 commit comments