WebAuthnSigningInTest failures caused by different titles (#11305)
Fixes #11298
This commit is contained in:
parent
a558d2f546
commit
2632fa7779
2 changed files with 5 additions and 5 deletions
|
@ -62,8 +62,8 @@ public class WebAuthnSigningInTest extends AbstractWebAuthnAccountTest {
|
|||
testContext.setTestRealmReps(emptyList()); // reimport realm after this test
|
||||
|
||||
assertThat(signingInPage.getCategoriesCount(), is(3));
|
||||
assertThat(signingInPage.getCategoryTitle("basic-authentication"), is("Basic Authentication"));
|
||||
assertThat(signingInPage.getCategoryTitle("two-factor"), is("Two-Factor Authentication"));
|
||||
assertThat(signingInPage.getCategoryTitle("basic-authentication"), is("Basic authentication"));
|
||||
assertThat(signingInPage.getCategoryTitle("two-factor"), is("Two-factor authentication"));
|
||||
assertThat(signingInPage.getCategoryTitle("passwordless"), is("Passwordless"));
|
||||
|
||||
// Delete WebAuthn flow ==> Passwordless category should disappear
|
||||
|
@ -419,7 +419,7 @@ public class WebAuthnSigningInTest extends AbstractWebAuthnAccountTest {
|
|||
// no way to simulate registration cancellation
|
||||
|
||||
assertThat("Set up link for \"" + credentialType.getType() + "\" is not visible", credentialType.isSetUpLinkVisible(), is(true));
|
||||
assertThat(credentialType.getTitle(), is("Security Key"));
|
||||
assertThat(credentialType.getTitle(), is("Security key"));
|
||||
assertThat(credentialType.getHelpText(), is(expectedHelpText));
|
||||
|
||||
final String label1 = "WebAuthn is convenient";
|
||||
|
|
|
@ -109,9 +109,9 @@ recovery-codes-number-used={0} recovery codes used
|
|||
recovery-codes-number-remaining={0} recovery codes remaining
|
||||
recovery-codes-generate-new-codes=Generate new codes to ensure access to your account
|
||||
webauthn-display-name=Security key
|
||||
webauthn-help-text=Use your security key to log in.
|
||||
webauthn-help-text=Use your security key to sign in.
|
||||
webauthn-passwordless-display-name=Security key
|
||||
webauthn-passwordless-help-text=Use your security key for passwordless log in.
|
||||
webauthn-passwordless-help-text=Use your security key for passwordless sign in.
|
||||
basic-authentication=Basic authentication
|
||||
invalidRequestMessage=Invalid request
|
||||
|
||||
|
|
Loading…
Reference in a new issue