KEYCLOAK-5340 - Testsuite compilation error - waitForPageToLoad without driver param
This commit is contained in:
parent
e3a61c580e
commit
a76e4434fa
1 changed files with 3 additions and 3 deletions
|
@ -570,7 +570,7 @@ public abstract class AbstractLinkAndExchangeTest extends AbstractServletsAdapte
|
||||||
|
|
||||||
// Login to account mgmt first
|
// Login to account mgmt first
|
||||||
profilePage.open(CHILD_IDP);
|
profilePage.open(CHILD_IDP);
|
||||||
WaitUtils.waitForPageToLoad(driver);
|
WaitUtils.waitForPageToLoad();
|
||||||
|
|
||||||
Assert.assertTrue(loginPage.isCurrent(CHILD_IDP));
|
Assert.assertTrue(loginPage.isCurrent(CHILD_IDP));
|
||||||
loginPage.login("child", "password");
|
loginPage.login("child", "password");
|
||||||
|
@ -615,7 +615,7 @@ public abstract class AbstractLinkAndExchangeTest extends AbstractServletsAdapte
|
||||||
|
|
||||||
// Login to account mgmt first
|
// Login to account mgmt first
|
||||||
profilePage.open(CHILD_IDP);
|
profilePage.open(CHILD_IDP);
|
||||||
WaitUtils.waitForPageToLoad(driver);
|
WaitUtils.waitForPageToLoad();
|
||||||
|
|
||||||
Assert.assertTrue(loginPage.isCurrent(CHILD_IDP));
|
Assert.assertTrue(loginPage.isCurrent(CHILD_IDP));
|
||||||
loginPage.login("child", "password");
|
loginPage.login("child", "password");
|
||||||
|
@ -649,7 +649,7 @@ public abstract class AbstractLinkAndExchangeTest extends AbstractServletsAdapte
|
||||||
|
|
||||||
private void navigateTo(String uri) {
|
private void navigateTo(String uri) {
|
||||||
driver.navigate().to(uri);
|
driver.navigate().to(uri);
|
||||||
WaitUtils.waitForPageToLoad(driver);
|
WaitUtils.waitForPageToLoad();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue