From 00d4cab55e4707b79376cb190285473ad502796d Mon Sep 17 00:00:00 2001 From: Douglas Palmer Date: Wed, 17 Apr 2024 22:25:58 -0700 Subject: [PATCH] Flaky test: org.keycloak.testsuite.forms.ResetPasswordTest#resetPasswordLink Closes #21422 Signed-off-by: Douglas Palmer --- .../java/org/keycloak/testsuite/forms/ResetPasswordTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/ResetPasswordTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/ResetPasswordTest.java index 634f5e786a..d706f85b2f 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/ResetPasswordTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/ResetPasswordTest.java @@ -163,6 +163,7 @@ public class ResetPasswordTest extends AbstractTestRealmKeycloakTest { openResetPasswordUrlAndDoFlow(resetUri, "account", oauth.AUTH_SERVER_ROOT + "/realms/test/account/"); AccountHelper.logout(testRealm(), username); + WaitUtils.waitForPageToLoad(); TestAppHelper testAppHelper = new TestAppHelper(oauth, loginPage, appPage); testAppHelper.login(username, "resetPassword");