diff --git a/playwright-tests/pages/SchedulePage.ts b/playwright-tests/pages/SchedulePage.ts index d6544208..1fe05bee 100644 --- a/playwright-tests/pages/SchedulePage.ts +++ b/playwright-tests/pages/SchedulePage.ts @@ -72,7 +72,6 @@ export class SchedulePage extends BasePage { await this.dropOffButton.waitFor({ state: 'visible', timeout: 5000 }); await this.dropOffButton.click() } else { - await this.dropOffButton.waitFor({ state: 'visible', timeout: 5000 }); await this.dropOffButton.isVisible() ? await this.dropOffButton.click() : await (await this.getFirstNonDropOffTimeSlot()).click(); // drop off is available in the morning for same day so this is here to avoid flaky tests } } else {