Skip to content

Commit

Permalink
adding data-testid to mandatory GKE elements for e2e tests locators
Browse files Browse the repository at this point in the history
Signed-off-by: Isabela Guimaraes <[email protected]>
  • Loading branch information
IsaSih committed Dec 19, 2024
1 parent ed0c829 commit 7fc7813
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/gke/components/CruGKE.vue
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@ export default defineComponent({
required
:rules="fvGetAndReportPathRules('clusterName')"
@update:value="setClusterName"
data-testid="gke-cluster-name"

Check warning on line 708 in pkg/gke/components/CruGKE.vue

View workflow job for this annotation

GitHub Actions / lint

Attribute "data-testid" should go before "@update:value"
/>
</div>
<div class="col span-6">
Expand All @@ -714,6 +715,7 @@ export default defineComponent({
label-key="nameNsDescription.description.label"
:placeholder="t('nameNsDescription.description.placeholder')"
@update:value="setClusterDescription"
data-testid="gke-cluster-description"

Check warning on line 718 in pkg/gke/components/CruGKE.vue

View workflow job for this annotation

GitHub Actions / lint

Attribute "data-testid" should go before "@update:value"
/>
</div>
</div>
Expand Down

0 comments on commit 7fc7813

Please sign in to comment.