KEYCLOAK-5340 - Testsuite compilation error - waitForPageToLoad without driver param

This commit is contained in:
Pavel Drozd 2017-08-28 09:14:45 +02:00
parent e3a61c580e
commit a76e4434fa

View file

@ -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();
} }