Skip to content

Commit

Permalink
fix(ktabs): add data-testid to list items (#2574)
Browse files Browse the repository at this point in the history
fix(ktabs): add data-testid to list item in Ktabs [khcp-14697]
  • Loading branch information
aanchalm01 authored Jan 16, 2025
1 parent 1338d21 commit bf80d75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/KTabs/KTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
:key="tab.hash"
class="tab-item"
:class="{ active: activeTab === tab.hash }"
:data-testid="`${tab.hash.replace('#','')}-tab`"
>
<component
:is="tabComponent(tab).tag"
Expand Down

0 comments on commit bf80d75

Please sign in to comment.