Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N21-1862 add data-testids #3223

Merged
merged 13 commits into from
May 3, 2024
Merged
7 changes: 5 additions & 2 deletions src/modules/feature/course-sync/EndCourseSyncDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@
</h2>
</template>
<template #content>
<WarningAlert class="mb-4">
<WarningAlert
class="mb-4"
data-testid="end-course-sync-dialog-warning-text"
>
{{ $t("feature-course-sync.EndCourseSyncDialog.alert") }}
</WarningAlert>
<p>
<p data-testid="end-course-sync-dialog-info-text">
{{
$t("feature-course-sync.EndCourseSyncDialog.description", {
courseName: courseName,
Expand Down
9 changes: 7 additions & 2 deletions src/modules/feature/course-sync/GroupSelectionDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</template>

<template #content>
<p class="text-md mt-2">
<p class="text-md mt-2" data-testid="group-dialog-info-text">
{{ $t("feature-course-sync.GroupSelectionDialog.text") }}
</p>
<VAutocomplete
Expand All @@ -30,9 +30,13 @@
hide-selected
clearable
variant="underlined"
data-testid="group-selection"
>
<template #append-item>
<div v-intersect="onGroupListIntersect" />
<div
v-intersect="onGroupListIntersect"
data-testid="group-selection-item"
/>
</template>
</VAutocomplete>
<WarningAlert
Expand All @@ -46,6 +50,7 @@
groupName: selectedGroup.name,
})
"
data-testid="no-teacher-warning-text"
/>
</WarningAlert>
</template>
Expand Down
7 changes: 6 additions & 1 deletion src/pages/rooms/RoomDetails.page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
>
{{ roomData.title }}
</div>
<VChip v-if="roomData.isSynchronized" size="small" class="mt-1 ml-2">
<VChip
v-if="roomData.isSynchronized"
size="small"
class="mt-1 ml-2"
data-testid="synced-course-chip"
>
{{ $t("pages.rooms.headerSection.synchronized") }}
</VChip>
<VChip v-if="roomData.isArchived" size="small" class="mt-1 ml-2">
Expand Down
Loading