Flaky test: org.keycloak.testsuite.forms.BrowserButtonsTest#appInitiatedRegistrationWithBackButton

Closes #32676

Signed-off-by: Douglas Palmer <dpalmer@redhat.com>
This commit is contained in:
Douglas Palmer 2024-10-08 09:12:20 -07:00 committed by Marek Posolda
parent 42484bd884
commit a276b3bb3d

View file

@ -140,7 +140,7 @@ public class RegisterPage extends AbstractPage {
} }
} }
submitButton.click(); UIUtils.clickLink(submitButton);
} }
public void registerWithEmailAsUsername(String firstName, String lastName, String email, String password, String passwordConfirm) { public void registerWithEmailAsUsername(String firstName, String lastName, String email, String password, String passwordConfirm) {
@ -176,11 +176,11 @@ public class RegisterPage extends AbstractPage {
passwordConfirmInput.sendKeys(passwordConfirm); passwordConfirmInput.sendKeys(passwordConfirm);
} }
submitButton.click(); UIUtils.clickLink(submitButton);
} }
public void clickBackToLogin() { public void clickBackToLogin() {
backToLoginLink.click(); UIUtils.clickLink(backToLoginLink);
} }
public String getAlertError() { public String getAlertError() {