From 8cca6f5afc681d1f608b68e1c8a108bdb8e661c4 Mon Sep 17 00:00:00 2001 From: JennyNou <167806377+JennyNou@users.noreply.github.com> Date: Tue, 10 Mar 2026 14:46:32 -0400 Subject: [PATCH] Add await so that PW can click on first time slot --- playwright-tests/pages/SchedulePage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();