#8581 invoiceIn e2e #1452

Merged
jorgep merged 153 commits from 8581-invoiceinE2e into dev 2025-03-20 08:58:01 +00:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit c64986ba23 - Show all commits

View File

@ -52,4 +52,11 @@ describe('invoiceInCorrective', () => {
cy.dataCy('invoiceInCorrective_reason').should('be.disabled');
});
});
it('should show/hide the section if it is a corrective invoice', () => {
cy.visit('/#/invoice-in/1/summary');
cy.get('[data-cy="InvoiceInCorrective-menu-item"]').should('not.exist');
cy.clicDescriptorAction(4);
cy.get('[data-cy="InvoiceInCorrective-menu-item"]').should('exist');
});
});