Skip to content

Commit

Permalink
N21-1793 add data test ids (#3283)
Browse files Browse the repository at this point in the history
  • Loading branch information
MBergCap committed Jun 14, 2024
1 parent 4fbdac0 commit 919782b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
:item="item.raw"
max-height="20"
max-width="20"
data-testId=""
data-testid="configuration-selected-item"
/>
</template>
<template #item="{ item, props }">
Expand Down Expand Up @@ -49,7 +49,12 @@
v-model="parameterConfiguration"
/>
<v-spacer class="mt-10" />
<v-alert v-if="error && error.message" type="error" :icon="mdiAlertCircle">
<v-alert
v-if="error && error.message"
type="error"
:icon="mdiAlertCircle"
data-testId="tool-error-alert"
>
{{ $t(getBusinessErrorTranslationKey(error)!) }}
</v-alert>
<v-row class="justify-end mt-10">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
:headline="t('pages.tool.title')"
:breadcrumbs="breadcrumbs"
:full-width="false"
data-testid="school-external-tool-configurator-title"
>
<RenderHTML
:html="t('components.administration.externalToolsSection.description')"
component="p"
data-testId="tool-configuration-infotext"
/>
<v-spacer class="mt-10" />
<external-tool-configurator
Expand Down
3 changes: 2 additions & 1 deletion src/pages/rooms/tools/RoomExternalToolsSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@
@dialog-canceled="onCloseDeleteDialog"
>
<template #title>
<h2 class="text-h4 my-2">
<h2 class="text-h4 my-2" data-testid="delete-dialog-title">
{{ t("pages.rooms.tools.deleteDialog.title") }}
</h2>
</template>
<template #content>
<RenderHTML
class="text-md mt-2"
data-testid="delete-dialog-content"
:html="
t('pages.rooms.tools.deleteDialog.content', {
itemName: selectedItemName,
Expand Down

0 comments on commit 919782b

Please sign in to comment.