Skip to content

Commit

Permalink
Merge pull request #5084 from kiva/add-test-ids-in-portfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
christian14b authored Dec 5, 2023
2 parents aecdf03 + 9808860 commit e22600e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
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

0 comments on commit e22600e

Please sign in to comment.