Skip to content

Commit

Permalink
feat: add new data cy ids
Browse files Browse the repository at this point in the history
  • Loading branch information
akalogerakisunicorn authored and alex-k8 committed Nov 28, 2024
1 parent c744201 commit ef41173
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/popup/components/AddressBook/AddressBookList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
isOwnAddress,
nameAddress,
type,
}) in accountsFiltered"
}, index) in accountsFiltered"
:key="address"
:to="
(isSelector)
Expand All @@ -43,6 +43,8 @@
"
class="address-book-item"
:style="bgColorStyle(isOwnAddress, nameAddress, address)"
:idx="index"
data-cy="address-book-item"
@click="selectAddress(nameAddress, address)"
>
<AccountInfo
Expand Down
1 change: 1 addition & 0 deletions src/popup/components/InputField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
:title="help?.title"
:msg="help?.msg"
:full-screen="!!help?.fullscreen"
data-cy="btn-help"
@help="$emit('help')"
/>
<div
Expand Down
1 change: 1 addition & 0 deletions src/popup/components/Modals/ProtocolSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
:subheader="$t(
'modals.createAccount.addProtocolAccount', { name: getProtocolName(protocol) })"
:protocol-icon="protocol"
:data-cy="`btn-add-${protocol}`"
@click="resolve(protocol)"
/>
</Modal>
Expand Down
2 changes: 2 additions & 0 deletions src/popup/components/Modals/SetPassword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,15 @@
|| !!errors.confirmPassword
)"
:text="$t('pages.setPassword.confirm')"
data-cy="btn-set-password"
@click="handleSubmit($event, onSubmit)"
/>
<BtnMain
variant="muted"
:text="$t('pages.setPassword.skip')"
extend
nowrap
data-cy="btn-skip-password"
@click="useDefaultPassword"
/>
</div>
Expand Down

0 comments on commit ef41173

Please sign in to comment.