Remove drop off assertion from logic to fix flaky test
This commit is contained in:
parent
8b9ac1ac70
commit
07a8e2e516
1 changed files with 0 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue