test: refs #8581 update invoiceInDescriptor spec to visit the correct invoice summary page
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Jorge Penadés 2025-03-07 11:19:52 +01:00
parent 60aa099536
commit 98541ef7dc
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ describe('InvoiceInDescriptor', () => {
describe('more options', () => {
it('should booking and unbooking the invoice properly', () => {
const checkbox = '[data-cy="vnLvIs booked"] > .q-checkbox';
cy.visit('/#/invoice-in/1/summary');
cy.visit('/#/invoice-in/2/summary');
cy.selectDescriptorOption();
cy.dataCy('VnConfirm_confirm').click();
cy.validateCheckbox(checkbox);