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);
|
createTestUserWithAdminClient(false);
|
||||||
|
|
||||||
signingInPage.navigateTo();
|
signingInPage.navigateTo();
|
||||||
|
waitForPageToLoad();
|
||||||
loginToAccount();
|
loginToAccount();
|
||||||
signingInPage.assertCurrent();
|
signingInPage.assertCurrent();
|
||||||
}
|
}
|
||||||
|
@ -158,6 +159,10 @@ public abstract class AbstractWebAuthnAccountTest extends AbstractAuthTest imple
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void loginToAccount() {
|
protected void loginToAccount() {
|
||||||
|
if (!loginPage.isCurrent()) {
|
||||||
|
signingInPage.navigateTo();
|
||||||
|
waitForPageToLoad();
|
||||||
|
}
|
||||||
loginPage.assertCurrent();
|
loginPage.assertCurrent();
|
||||||
loginPage.form().login(testUser);
|
loginPage.form().login(testUser);
|
||||||
waitForPageToLoad();
|
waitForPageToLoad();
|
||||||
|
|
Loading…
Reference in a new issue