Re-try login to account for firefox CI
Closes #30994 Signed-off-by: rmartinc <rmartinc@redhat.com>
This commit is contained in:
parent
44b1290917
commit
a475cbf009
1 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue