Remove drop off assertion from logic to fix flaky test

This commit is contained in:
JennyNou 2026-03-25 09:48:38 -04:00
parent 8b9ac1ac70
commit 07a8e2e516

View file

@ -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 {