test(invoiceInCorrective): refs #8581 add visibility test for corrective invoice section
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
a239f84498
commit
c64986ba23
|
@ -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