test: fix expedition e2e

This commit is contained in:
Alex Moreno 2025-01-03 13:43:10 +01:00
parent dd8664eebf
commit ac2336064b
3 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,7 @@ defineProps({
hide-dropdown-icon
focus-on-mount
@update:model-value="promise"
data-cy="vnBtnSelect_select"
/>
</QBtnDropdown>
</template>

View File

@ -319,6 +319,7 @@ onMounted(async () => {
}
}
"
:redirect="false"
order="created DESC"
>
<template #column-freightItemName="{ row }">

View File

@ -16,8 +16,9 @@ describe('Ticket expedtion', () => {
cy.wait('@show');
cy.selectRows([1, 2]);
cy.dataCy('change-state').click();
cy.dataCy('undefined_select').type('Perdida{enter}');
cy.selectOption('[data-cy="vnBtnSelect_select"]', 'Perdida');
cy.wait('@add');
cy.get(`${tableContent} tr:nth-child(-n+2) ${stateTd}`).each(($el) => {