KEYCLOAK-4351 Stabilize TermsAndConditions test in IE
This commit is contained in:
parent
f371a00e98
commit
5e360cf919
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
||||||
package org.keycloak.testsuite.auth.page.login;
|
package org.keycloak.testsuite.auth.page.login;
|
||||||
|
|
||||||
import org.keycloak.testsuite.util.UIUtils;
|
import org.keycloak.testsuite.util.UIUtils;
|
||||||
|
import org.keycloak.testsuite.util.WaitUtils;
|
||||||
import org.openqa.selenium.WebElement;
|
import org.openqa.selenium.WebElement;
|
||||||
import org.openqa.selenium.support.FindBy;
|
import org.openqa.selenium.support.FindBy;
|
||||||
|
|
||||||
|
@ -41,9 +42,11 @@ public class TermsAndConditions extends LoginActions {
|
||||||
|
|
||||||
public void acceptTerms() {
|
public void acceptTerms() {
|
||||||
acceptButton.click();
|
acceptButton.click();
|
||||||
|
WaitUtils.waitForPageToLoad(driver);
|
||||||
}
|
}
|
||||||
public void declineTerms() {
|
public void declineTerms() {
|
||||||
declineButton.click();
|
declineButton.click();
|
||||||
|
WaitUtils.waitForPageToLoad(driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getAcceptButtonText() {
|
public String getAcceptButtonText() {
|
||||||
|
|
Loading…
Reference in a new issue