1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00

Add data-testid for toggle view password

This commit is contained in:
Daniel James Smith 2024-09-24 09:21:47 +02:00
parent b180c53a69
commit bd6fcc8c1b
No known key found for this signature in database
GPG Key ID: DA2E2EC600E1289B

View File

@ -15,7 +15,13 @@
<bit-label *ngIf="!hasPassword">{{ "password" | i18n }}</bit-label>
<bit-label *ngIf="hasPassword">{{ "newPassword" | i18n }}</bit-label>
<input bitInput type="password" formControlName="password" />
<button type="button" bitIconButton bitSuffix bitPasswordInputToggle></button>
<button
type="button"
bitIconButton
bitSuffix
bitPasswordInputToggle
data-testid="toggle-visibility-for-password"
></button>
<button
type="button"
bitIconButton="bwi-generate"