mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
add testids for visibility buttons on edit card (#10021)
This commit is contained in:
@@ -18,7 +18,13 @@
|
||||
<bit-form-field>
|
||||
<bit-label>{{ "number" | i18n }}</bit-label>
|
||||
<input id="cardNumber" bitInput formControlName="number" type="password" />
|
||||
<button type="button" bitIconButton bitSuffix bitPasswordInputToggle></button>
|
||||
<button
|
||||
type="button"
|
||||
bitIconButton
|
||||
bitSuffix
|
||||
bitPasswordInputToggle
|
||||
data-testid="visibility-for-card-number"
|
||||
></button>
|
||||
</bit-form-field>
|
||||
|
||||
<bit-form-field>
|
||||
@@ -53,7 +59,13 @@
|
||||
<bit-form-field>
|
||||
<bit-label>{{ "securityCode" | i18n }}</bit-label>
|
||||
<input id="cardCode" bitInput formControlName="code" type="password" />
|
||||
<button type="button" bitIconButton bitSuffix bitPasswordInputToggle></button>
|
||||
<button
|
||||
type="button"
|
||||
bitIconButton
|
||||
bitSuffix
|
||||
bitPasswordInputToggle
|
||||
data-testid="visibility-for-card-code"
|
||||
></button>
|
||||
</bit-form-field>
|
||||
</bit-card>
|
||||
</bit-section>
|
||||
|
||||
Reference in New Issue
Block a user