#8581 invoiceIn e2e #1452
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue