From 477d561b2ca5c4e771df43df15e79a63291bb4bc Mon Sep 17 00:00:00 2001 From: rwood-moz Date: Thu, 5 Dec 2024 10:53:28 -0500 Subject: [PATCH] Use more consistent names for data-testids --- .../src/components/CalendarManagement.vue | 6 ++--- frontend/src/components/CalendarMiniMonth.vue | 4 +-- frontend/src/components/ScheduleCreation.vue | 26 +++++++++---------- frontend/src/components/SettingsAccount.vue | 18 ++++++------- frontend/src/components/SettingsGeneral.vue | 6 ++--- frontend/src/components/TabBar.vue | 1 + .../bookingView/BookingViewSlotSelection.vue | 8 +++--- frontend/src/views/AppointmentsView.vue | 11 ++++---- frontend/src/views/HomeView.vue | 4 ++- frontend/src/views/SettingsView.vue | 2 +- 10 files changed, 44 insertions(+), 42 deletions(-) diff --git a/frontend/src/components/CalendarManagement.vue b/frontend/src/components/CalendarManagement.vue index 36740a9d8..9e606eb56 100644 --- a/frontend/src/components/CalendarManagement.vue +++ b/frontend/src/components/CalendarManagement.vue @@ -61,7 +61,7 @@ const filteredCalendars = computed(() => props.calendars.filter((calendar: Calen text-xs text-white disabled:scale-100 disabled:opacity-50 disabled:shadow-none " :title="t('label.connect')" - data-testid="connect-calendar-btn" + data-testid="settings-calendar-connect-calendar-btn" > {{ t('label.connectCalendar') }} @@ -75,7 +75,7 @@ const filteredCalendars = computed(() => props.calendars.filter((calendar: Calen text-xs text-white disabled:scale-100 disabled:opacity-50 disabled:shadow-none " :title="t('label.edit')" - data-testid="edit-calendar-btn" + data-testid="settings-calendar-edit-calendar-btn" > {{ t('label.editCalendar') }} @@ -86,7 +86,7 @@ const filteredCalendars = computed(() => props.calendars.filter((calendar: Calen :disabled="loading" @click="emit('remove', cal.id)" :title="t('label.remove')" - data-testid="remove-calendar-btn" + data-testid="settings-calendar-remove-calendar-btn" > diff --git a/frontend/src/components/CalendarMiniMonth.vue b/frontend/src/components/CalendarMiniMonth.vue index ee77304d2..f69d31a51 100644 --- a/frontend/src/components/CalendarMiniMonth.vue +++ b/frontend/src/components/CalendarMiniMonth.vue @@ -1,13 +1,13 @@