diff --git a/playwright-tests/pages/SchedulePage.ts b/playwright-tests/pages/SchedulePage.ts index 11645b5d..5c816ef9 100644 --- a/playwright-tests/pages/SchedulePage.ts +++ b/playwright-tests/pages/SchedulePage.ts @@ -58,7 +58,7 @@ export class SchedulePage extends BasePage { if (await this.inShopButton.isVisible() && appointmentDetails?.serviceLocation !== ServiceLocation.DropOff) { await this.inShopButton.click(); - (await this.getTimeSlot(1)).click(); + await (await this.getTimeSlot(1)).click(); } else if (appointmentDetails?.serviceLocation === ServiceLocation.DropOff) { await this.inShopButton.isVisible(); await this.inShopButton.click();