Re-try login to account for firefox CI

Closes #30994

Signed-off-by: rmartinc <rmartinc@redhat.com>
This commit is contained in:
rmartinc 2024-10-07 09:10:56 +02:00 committed by Marek Posolda
parent 44b1290917
commit a475cbf009

View file

@ -107,6 +107,7 @@ public abstract class AbstractWebAuthnAccountTest extends AbstractAuthTest imple
createTestUserWithAdminClient(false);
signingInPage.navigateTo();
waitForPageToLoad();
loginToAccount();
signingInPage.assertCurrent();
}
@ -158,6 +159,10 @@ public abstract class AbstractWebAuthnAccountTest extends AbstractAuthTest imple
}
protected void loginToAccount() {
if (!loginPage.isCurrent()) {
signingInPage.navigateTo();
waitForPageToLoad();
}
loginPage.assertCurrent();
loginPage.form().login(testUser);
waitForPageToLoad();