diff --git a/src/components/common/VnSelectDialog.vue b/src/components/common/VnSelectDialog.vue index 37397c4c3..12322c3fa 100644 --- a/src/components/common/VnSelectDialog.vue +++ b/src/components/common/VnSelectDialog.vue @@ -51,7 +51,6 @@ const isAllowedToCreate = computed(() => { :style="{ 'font-variation-settings': `'FILL' ${1}`, }" - :data-cy="`SelectDialogAddIcon-${$attrs.label || 'default'}`" > {{ tooltip }} diff --git a/src/pages/Item/Card/CreateGenusForm.vue b/src/pages/Item/Card/CreateGenusForm.vue index 66f5130d4..7f8f47729 100644 --- a/src/pages/Item/Card/CreateGenusForm.vue +++ b/src/pages/Item/Card/CreateGenusForm.vue @@ -37,6 +37,7 @@ onMounted(async () => { :label="t('Latin genus name')" v-model="data.name" :required="true" + data-cy="AddGenusInput" /> diff --git a/src/pages/Item/Card/CreateSpecieForm.vue b/src/pages/Item/Card/CreateSpecieForm.vue index 120544fd9..a68e7688a 100644 --- a/src/pages/Item/Card/CreateSpecieForm.vue +++ b/src/pages/Item/Card/CreateSpecieForm.vue @@ -37,6 +37,7 @@ onMounted(async () => { :label="t('Latin species name')" v-model="data.name" :required="true" + data-cy="AddSpeciesInput" /> diff --git a/src/pages/Item/Card/ItemBotanical.vue b/src/pages/Item/Card/ItemBotanical.vue index 57774f75e..4894d94fc 100644 --- a/src/pages/Item/Card/ItemBotanical.vue +++ b/src/pages/Item/Card/ItemBotanical.vue @@ -52,6 +52,7 @@ const entityId = computed(() => { :fields="['id', 'name']" sort-by="name ASC" hide-selected + data-cy="AddGenusSelectDialog" >