MT#65155 add missing data-cy to auto attendant page

Change-Id: I514c5b4666e04336736be65053de9c63f10e45dc
mr26.2
Nico Schedel 1 week ago
parent ebafb9c5af
commit 6873d6c8fc

@ -40,6 +40,7 @@
<csc-data-table-edit-input
:column="{name:'destination', label: $t('Destination'), componentValidations: [getDestinationValidation()]}"
:row="{slot: row.slot, destination: row.destination}"
data-cy="csc-pbx-auto-attendant-input"
:value="row.destination"
:save-label="$t('Add')"
@changed="updateNewSlotDestination(index, $event.value)"
@ -49,6 +50,7 @@
<q-btn
icon="delete"
color="negative"
data-cy="csc-pbx-auto-attendant-input-reset"
flat
dense
@click="resetNewSlot(index)"
@ -58,6 +60,7 @@
icon="check"
color="primary"
:label="$t('Save')"
data-cy="csc-pbx-auto-attendant-input-save"
flat
dense
@click="saveSlots"

@ -23,6 +23,7 @@
<csc-list-menu-item
icon="delete"
icon-color="negative"
data-cy="csc-pbx-auto-attendant-delete"
@click="confirmRowDeletion"
>
{{ $t('Remove') }}
@ -34,6 +35,7 @@
<q-input
v-model="newDestination"
:label="$t('Destination')"
data-cy="csc-pbx-auto-attendant-destination"
:error="v$.newDestination.$errors.length > 0"
:error-message="errorMessage"
@keyup.enter="save"
@ -45,10 +47,12 @@
>
<csc-input-button-save
v-if="newDestination !== '' && newDestination !== null"
data-cy="csc-pbx-auto-attendant-input-save"
@click.stop="save"
/>
<csc-input-button-reset
v-if="!addNewSlot"
data-cy="csc-pbx-auto-attendant-input-reset"
@click.stop="resetSlotDestination"
/>
</template>

Loading…
Cancel
Save