1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-17 20:31:50 +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">{{ "password" | i18n }}</bit-label>
<bit-label *ngIf="hasPassword">{{ "newPassword" | i18n }}</bit-label> <bit-label *ngIf="hasPassword">{{ "newPassword" | i18n }}</bit-label>
<input bitInput type="password" formControlName="password" /> <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 <button
type="button" type="button"
bitIconButton="bwi-generate" bitIconButton="bwi-generate"