Skip to content

Commit ef41173

Browse files
akalogerakisunicornalex-k8
authored andcommitted
feat: add new data cy ids
1 parent c744201 commit ef41173

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

src/popup/components/AddressBook/AddressBookList.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
isOwnAddress,
3535
nameAddress,
3636
type,
37-
}) in accountsFiltered"
37+
}, index) in accountsFiltered"
3838
:key="address"
3939
:to="
4040
(isSelector)
@@ -43,6 +43,8 @@
4343
"
4444
class="address-book-item"
4545
:style="bgColorStyle(isOwnAddress, nameAddress, address)"
46+
:idx="index"
47+
data-cy="address-book-item"
4648
@click="selectAddress(nameAddress, address)"
4749
>
4850
<AccountInfo

src/popup/components/InputField.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
:title="help?.title"
2929
:msg="help?.msg"
3030
:full-screen="!!help?.fullscreen"
31+
data-cy="btn-help"
3132
@help="$emit('help')"
3233
/>
3334
<div

src/popup/components/Modals/ProtocolSelect.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
:subheader="$t(
2323
'modals.createAccount.addProtocolAccount', { name: getProtocolName(protocol) })"
2424
:protocol-icon="protocol"
25+
:data-cy="`btn-add-${protocol}`"
2526
@click="resolve(protocol)"
2627
/>
2728
</Modal>

src/popup/components/Modals/SetPassword.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,15 @@
9393
|| !!errors.confirmPassword
9494
)"
9595
:text="$t('pages.setPassword.confirm')"
96+
data-cy="btn-set-password"
9697
@click="handleSubmit($event, onSubmit)"
9798
/>
9899
<BtnMain
99100
variant="muted"
100101
:text="$t('pages.setPassword.skip')"
101102
extend
102103
nowrap
104+
data-cy="btn-skip-password"
103105
@click="useDefaultPassword"
104106
/>
105107
</div>

0 commit comments

Comments
 (0)