1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

PM-10982 add passkey field in login view. add testid for qa (#10634)

This commit is contained in:
Jason Ng
2024-08-22 16:38:41 -04:00
committed by GitHub
parent 404d514e53
commit 887d1924a3
3 changed files with 36 additions and 4 deletions

View File

@@ -23,7 +23,7 @@
[valueLabel]="'username' | i18n"
showToast
[appA11yTitle]="'copyValue' | i18n"
data-testid="toggle-username"
data-testid="copy-username"
></button>
</bit-form-field>
<bit-form-field *ngIf="cipher.login.password">
@@ -74,6 +74,17 @@
[showCount]="true"
></bit-color-password>
</div>
<bit-form-field *ngIf="cipher.login?.fido2Credentials?.length > 0">
<bit-label>{{ "typePasskey" | i18n }} </bit-label>
<input
readonly
bitInput
type="text"
[value]="fido2CredentialCreationDateValue"
aria-readonly="true"
data-testid="login-passkey"
/>
</bit-form-field>
<bit-form-field *ngIf="cipher.login.totp">
<bit-label
>{{ "verificationCodeTotp" | i18n }}