+
{{ appointment.title }}
-
+
{{ t('text.nameIsInvitingYou', { name: appointment.owner_name }) }}
@@ -70,6 +70,7 @@ const selectEvent = (day: string) => {
:is-booking-route="true"
:fixed-duration="activeSchedules[0]?.slot_duration"
@event-selected="selectEvent"
+ data-testid="booking-view-calendar"
>
@@ -84,6 +85,7 @@ const selectEvent = (day: string) => {
:disabled="!selectedEvent"
@click="emit('openModal')"
:title="t('label.confirm')"
+ data-testid="confirm-selection-button"
/>
diff --git a/frontend/src/elements/UserAvatar.vue b/frontend/src/elements/UserAvatar.vue
index 3a3e6ab70..1ac06a0c8 100644
--- a/frontend/src/elements/UserAvatar.vue
+++ b/frontend/src/elements/UserAvatar.vue
@@ -9,6 +9,7 @@ const user = useUserStore();
{{ initials(user.data.name) }}
diff --git a/frontend/src/views/AppointmentsView.vue b/frontend/src/views/AppointmentsView.vue
index 4f3ac0295..aa41f3c34 100644
--- a/frontend/src/views/AppointmentsView.vue
+++ b/frontend/src/views/AppointmentsView.vue
@@ -237,6 +237,7 @@ provide(paintBackgroundKey, paintBackground);
:active="tabActive"
@update="updateTab"
class="text-xl"
+ data-testid="booking-tab-bar"
/>
-
@@ -277,6 +279,7 @@ provide(paintBackgroundKey, paintBackground);
'hover:bg-gray-100 dark:hover:bg-gray-500': view !== BookingsViewTypes.List,
}"
@click="view = BookingsViewTypes.List"
+ data-testid="bookings-list-view-btn"
>
@@ -287,6 +290,7 @@ provide(paintBackgroundKey, paintBackground);
'hover:bg-gray-100 dark:hover:bg-gray-500': view !== BookingsViewTypes.Grid,
}"
@click="view = BookingsViewTypes.Grid"
+ data-testid="bookings-grid-view-btn"
>
@@ -300,6 +304,7 @@ provide(paintBackgroundKey, paintBackground);
'cursor-pointer': view === BookingsViewTypes.List,
}"
@click="openAdjustments"
+ data-testid="adjust-table-btn"
>