test: refs #8930 update invoice booking flow to use confirmation dialog
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jose Antonio Tubau 2025-04-25 13:48:38 +02:00
parent ee632880f9
commit b2584c021b
1 changed files with 3 additions and 2 deletions

View File

@ -98,11 +98,12 @@ describe('InvoiceInSummary', () => {
});
it('should booking and unbooking the invoice properly', () => {
cy.visit('/#/invoice-in/3/summary');
const checkbox = '[data-cy="vnLvIs booked"] > .q-checkbox';
cy.dataCy('invoiceInSummary_book').click();
cy.clickConfirm();
cy.dataCy('VnConfirm_confirm').click();
cy.validateCheckbox(checkbox);
cy.selectDescriptorOption();
cy.dataCy('VnConfirm_confirm').click();
});
describe('Supplier pop-ups', () => {