From 07a8e2e516b54fa7b9ef20176c51db57d2dc3223 Mon Sep 17 00:00:00 2001 From: JennyNou Date: Wed, 25 Mar 2026 09:48:38 -0400 Subject: [PATCH] Remove drop off assertion from logic to fix flaky test --- playwright-tests/pages/SchedulePage.ts | 1 - 1 file changed, 1 deletion(-) 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 {