KEYCLOAK-4351 Stabilize TermsAndConditions test in IE

This commit is contained in:
Vaclav Muzikar 2017-04-04 07:40:16 +02:00
parent f371a00e98
commit 5e360cf919

View file

@ -17,6 +17,7 @@
package org.keycloak.testsuite.auth.page.login;
import org.keycloak.testsuite.util.UIUtils;
import org.keycloak.testsuite.util.WaitUtils;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
@ -41,9 +42,11 @@ public class TermsAndConditions extends LoginActions {
public void acceptTerms() {
acceptButton.click();
WaitUtils.waitForPageToLoad(driver);
}
public void declineTerms() {
declineButton.click();
WaitUtils.waitForPageToLoad(driver);
}
public String getAcceptButtonText() {