KEYCLOAK-11316 Fix Photoz instabilities on windows
Error message: Cannot read property 'token_endpoint' of undefined
This commit is contained in:
parent
a09b593342
commit
f810e85526
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,7 @@ import org.openqa.selenium.JavascriptExecutor;
|
|||
import org.openqa.selenium.WebDriver;
|
||||
import org.openqa.selenium.WebElement;
|
||||
import org.openqa.selenium.support.FindBy;
|
||||
import org.openqa.selenium.support.ui.WebDriverWait;
|
||||
import org.wildfly.extras.creaper.core.online.CliException;
|
||||
import org.wildfly.extras.creaper.core.online.OnlineManagementClient;
|
||||
import org.wildfly.extras.creaper.core.online.operations.admin.Administration;
|
||||
|
@ -237,6 +238,8 @@ public abstract class AbstractBasePhotozExampleAdapterTest extends AbstractPhoto
|
|||
.login(this::assertOnLoginPage)
|
||||
.loginFormWithScopesWithPossibleConsentPage(user, this::assertOnTestAppUrl, oAuthGrantPage, scopes)
|
||||
.init(defaultArguments(), this::assertSuccessfullyLoggedIn);
|
||||
|
||||
new WebDriverWait(jsDriver, 10).until(this::isLoaded);
|
||||
}
|
||||
|
||||
public boolean isLoaded(WebDriver w) {
|
||||
|
|
Loading…
Reference in a new issue