Add await so that PW can click on first time slot
This commit is contained in:
parent
7481aff268
commit
8cca6f5afc
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue