Skip to content

Commit

Permalink
Await in selenium test
Browse files Browse the repository at this point in the history
  • Loading branch information
BartChris committed Apr 16, 2024
1 parent 9884152 commit 434d1c7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,11 @@ public void goToCalendar() throws Exception {
if (isNotAt()) {
goTo();
}

await("Wait for openCalendarLink to be clickable")
.pollDelay(100, TimeUnit.MILLISECONDS)
.atMost(5, TimeUnit.SECONDS)
.until(openCalendarLink::isDisplayed);
openCalendarLink.click();
}

Expand Down

0 comments on commit 434d1c7

Please sign in to comment.