1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +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

@@ -8,12 +8,20 @@
<bit-label>
{{ "website" | i18n }}
</bit-label>
<input readonly bitInput type="text" [value]="login.hostOrUri" aria-readonly="true" />
<input
readonly
bitInput
type="text"
[value]="login.hostOrUri"
aria-readonly="true"
data-testid="login-website"
/>
<button
bitIconButton="bwi-external-link"
bitSuffix
type="button"
(click)="openWebsite(login.launchUri)"
data-testid="launch-website"
></button>
<button
bitIconButton="bwi-clone"
@@ -23,6 +31,7 @@
[valueLabel]="'website' | i18n"
showToast
[appA11yTitle]="'copyValue' | i18n"
data-testid="copy-website"
></button>
</bit-form-field>
</ng-container>