Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add test ids in portfolio #5084

Merged
merged 3 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/components/WwwFrame/Menus/ThePortfolioTertiaryMenu.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ul class="tw-font-medium">
<ul class="tw-font-medium" data-testid="portfolio-tertiary-menu">
<li>
<router-link
to="/portfolio"
Expand Down Expand Up @@ -36,6 +36,7 @@
class="portfolio-tertitary-menu-link"
exact-active-class="portfolio-tertitary-menu-active-link"
v-kv-track-event="['TertiaryNav','click-MyKiva-Estimated-repayments']"
data-testid="portfolio-estimated-payments"
>
Estimated repayments
</router-link>
Expand All @@ -46,6 +47,7 @@
class="portfolio-tertitary-menu-link"
exact-active-class="portfolio-tertitary-menu-active-link"
v-kv-track-event="['TertiaryNav','click-MyKiva-Add-credit']"
data-testid="portfolio-add-credit"
>
Add credit
</router-link>
Expand Down Expand Up @@ -86,6 +88,7 @@
class="portfolio-tertitary-menu-link"
exact-active-class="portfolio-tertitary-menu-active-link"
v-kv-track-event="['TertiaryNav','click-MyKiva-Transaction-history']"
data-testid="portfolio-transactions"
>
Transaction history
</router-link>
Expand Down Expand Up @@ -116,6 +119,7 @@
class="portfolio-tertitary-menu-link"
exact-active-class="portfolio-tertitary-menu-active-link"
v-kv-track-event="['TertiaryNav','click-MyKiva-Invite-friends']"
data-testid="portfolio-invite-friends"
>
Invite friends
</router-link>
Expand All @@ -126,6 +130,7 @@
class="portfolio-tertitary-menu-link"
exact-active-class="portfolio-tertitary-menu-active-link"
v-kv-track-event="['TertiaryNav','click-MyKiva-Free-credit-history']"
data-testid="portfolio-bonus-history"
>
Free credit history
</router-link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<the-my-kiva-secondary-menu />
</template>
<kv-page-container>
<kv-grid class="tw-grid-cols-12 tw--mx-2.5 md:tw-mx-0">
<kv-grid class="tw-grid-cols-12 tw--mx-2.5 md:tw-mx-0" data-testid="portfolio">
<the-portfolio-tertiary-menu class="tw-pt-2 tw-col-span-3 tw-hidden md:tw-block" />
<div
class="tw-col-span-12 md:tw-col-span-9"
Expand Down
Loading