Skip to content

Commit

Permalink
N21-1506 add data-testid
Browse files Browse the repository at this point in the history
  • Loading branch information
GordonNicholasCap committed Dec 2, 2024
1 parent adda424 commit c8feea0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/share/ImportModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
confirm-btn-title-key="common.actions.import"
@dialog-confirmed="onConfirm"
@dialog-canceled="onCancel"
data-testid="import-modal"
>
<template #title>
<div ref="textTitle" class="text-h4 my-2">
Expand Down Expand Up @@ -45,6 +46,7 @@
v-model="newName"
:label="t(`components.molecules.import.${parentType}.label`)"
:rules="[rules.required]"
data-testid="import-modal-name-input"
/>
</div>
</template>
Expand Down
1 change: 1 addition & 0 deletions src/components/share/ShareModalResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
:model-value="shareUrl"
readonly
:label="`${t(`components.molecules.share.${type}.result.linkLabel`)}`"
data-testid="share-course-result-url"
/>
<div class="mb-4">
<div
Expand Down

0 comments on commit c8feea0

Please sign in to comment.