diff --git a/test/cypress/integration/invoiceIn/invoiceInVehicle.spec.js b/test/cypress/integration/invoiceIn/invoiceInVehicle.spec.js index 177d676e8..708994036 100644 --- a/test/cypress/integration/invoiceIn/invoiceInVehicle.spec.js +++ b/test/cypress/integration/invoiceIn/invoiceInVehicle.spec.js @@ -15,7 +15,7 @@ describe('InvoiceInVehicle', () => { cy.visit(`/#/invoice-in/1/vehicle`); }); - it('should link vehicle to the invoice', () => { + it('should link and unlink vehicle to the invoice', () => { const data = { Vehicle: { val: '2222-IMK', type: 'select' }, Amount: { val: 125 }, @@ -24,9 +24,6 @@ describe('InvoiceInVehicle', () => { cy.fillInForm(data); cy.dataCy('FormModelPopup_save').click(); cy.checkNotification('Data created'); - }); - - it('should unlink vehicle to the invoice', () => { cy.dataCy(selectors.tableActionUnlink).last().click(); cy.clickConfirm(); cy.checkNotification('Unlinked vehicle');