From 90a9a7dcc73d6f4903055458b8a09401010eef39 Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 14 May 2024 13:07:29 +0200 Subject: [PATCH] fix: refs #6891 fix invoiceIntrastat test --- .../integration/invoiceIn/invoiceInIntrastat.spec.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/cypress/integration/invoiceIn/invoiceInIntrastat.spec.js b/test/cypress/integration/invoiceIn/invoiceInIntrastat.spec.js index 306c0b8c0..c87fd4315 100644 --- a/test/cypress/integration/invoiceIn/invoiceInIntrastat.spec.js +++ b/test/cypress/integration/invoiceIn/invoiceInIntrastat.spec.js @@ -17,10 +17,7 @@ describe('InvoiceInIntrastat', () => { cy.saveCard(); cy.visit(`/#/invoice-in/1/intrastat`); - cy.getValue(firstLineCode).should( - 'equal', - 'Plantas vivas: Esqueje/injerto, Vid' - ); + cy.getValue(firstLineCode).should('equal', 'Plantas vivas: Esqueje/injerto, Vid'); }); it('should add a new row', () => { @@ -33,6 +30,6 @@ describe('InvoiceInIntrastat', () => { }); it('should remove the first line', () => { - cy.removeRow(1); + cy.removeRow(2); }); });