Stop waiting page load when calling assertCurrent()
(#20786)
This commit is contained in:
parent
1af4a7a532
commit
9a8d1ca1f3
1 changed files with 0 additions and 2 deletions
|
@ -23,7 +23,6 @@ import org.keycloak.common.util.KeycloakUriBuilder;
|
|||
import org.keycloak.testsuite.arquillian.SuiteContext;
|
||||
import org.keycloak.testsuite.util.DroneUtils;
|
||||
import org.keycloak.testsuite.util.OAuthClient;
|
||||
import org.keycloak.testsuite.util.WaitUtils;
|
||||
import org.openqa.selenium.WebDriver;
|
||||
|
||||
import java.net.URI;
|
||||
|
@ -44,7 +43,6 @@ public abstract class AbstractPage {
|
|||
protected OAuthClient oauth;
|
||||
|
||||
public void assertCurrent() {
|
||||
WaitUtils.waitForPageToLoad();
|
||||
String name = getClass().getSimpleName();
|
||||
Assert.assertTrue("Expected " + name + " but was " + DroneUtils.getCurrentDriver().getTitle() + " (" + DroneUtils.getCurrentDriver().getCurrentUrl() + ")",
|
||||
isCurrent());
|
||||
|
|
Loading…
Reference in a new issue