diff --git a/libs/vault/src/cipher-view/custom-fields/custom-fields-v2.component.html b/libs/vault/src/cipher-view/custom-fields/custom-fields-v2.component.html index 6c1b8ee5f1..8c6d9f9617 100644 --- a/libs/vault/src/cipher-view/custom-fields/custom-fields-v2.component.html +++ b/libs/vault/src/cipher-view/custom-fields/custom-fields-v2.component.html @@ -7,6 +7,7 @@ class="tw-border-secondary-300 [&_bit-form-field:last-of-type]:tw-mb-0" *ngFor="let field of cipher.fields; let last = last" [ngClass]="{ 'tw-mb-4': !last }" + data-testid="custom-field" > {{ field.name }} @@ -19,6 +20,7 @@ showToast [valueLabel]="field.name" [appA11yTitle]="'copyValue' | i18n" + data-testid="copy-custom-field" > diff --git a/libs/vault/src/cipher-view/view-identity-sections/view-identity-sections.component.html b/libs/vault/src/cipher-view/view-identity-sections/view-identity-sections.component.html index 29ccd5daa6..ec4580e31d 100644 --- a/libs/vault/src/cipher-view/view-identity-sections/view-identity-sections.component.html +++ b/libs/vault/src/cipher-view/view-identity-sections/view-identity-sections.component.html @@ -15,6 +15,7 @@ [appCopyClick]="cipher.identity.fullName" showToast [valueLabel]="'name' | i18n" + data-testid="copy-name" > @@ -41,6 +42,7 @@ [appCopyClick]="cipher.identity.company" showToast [valueLabel]="'company' | i18n" + data-testid="copy-company" > @@ -70,6 +72,7 @@ [appCopyClick]="cipher.identity.ssn" showToast [valueLabel]="'ssn' | i18n" + data-testid="copy-ssn" > @@ -96,6 +99,7 @@ [appCopyClick]="cipher.identity.passportNumber" showToast [valueLabel]="'passportNumber' | i18n" + data-testid="copy-passport" > @@ -109,6 +113,7 @@ [appCopyClick]="cipher.identity.licenseNumber" showToast [valueLabel]="'licenseNumber' | i18n" + data-testid="copy-license" > @@ -131,6 +136,7 @@ [appCopyClick]="cipher.identity.email" showToast [valueLabel]="'email' | i18n" + data-testid="copy-email" > @@ -144,6 +150,7 @@ [appCopyClick]="cipher.identity.phone" showToast [valueLabel]="'phone' | i18n" + data-testid="copy-phone" > @@ -164,6 +171,7 @@ [appCopyClick]="addressFields" showToast [valueLabel]="'address' | i18n" + data-testid="copy-address" >