Skip to content

Commit

Permalink
fix: add global implicit wait
Browse files Browse the repository at this point in the history
* Hoping to fix CI failures I'm no reproducing locally. The failures are finding a blank page, so it may be a race condition.
  • Loading branch information
swalchemist committed Oct 27, 2023
1 parent ef989f6 commit da20c4a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package org.cloudfoundry.identity.uaa.integration.pageObjects;

import java.time.Duration;

import org.hamcrest.Matcher;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
Expand All @@ -11,6 +13,7 @@ public class Page {

public Page(WebDriver driver) {
this.driver = driver;
driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(5));
}

protected static void validateUrl(WebDriver driver, Matcher urlMatcher) {
Expand Down

0 comments on commit da20c4a

Please sign in to comment.