From 07c078093fed03128dea87ee8d551d4c5fabfafe Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 16 May 2025 17:24:38 +0200 Subject: [PATCH] refactor: refs #8388 change beforeEach to before in InvoiceInIntrastat tests --- test/cypress/integration/invoiceIn/invoiceInIntrastat.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cypress/integration/invoiceIn/invoiceInIntrastat.spec.js b/test/cypress/integration/invoiceIn/invoiceInIntrastat.spec.js index 19c29f9a7..3d9f00acf 100644 --- a/test/cypress/integration/invoiceIn/invoiceInIntrastat.spec.js +++ b/test/cypress/integration/invoiceIn/invoiceInIntrastat.spec.js @@ -4,7 +4,7 @@ describe('InvoiceInIntrastat', () => { const firstAmount = 'td[data-col-field="amount"][data-row-index="0"]'; const intrastat = 'Plantas vivas: Esqueje/injerto, Vid'; - beforeEach(() => { + before(() => { cy.login('administrative'); cy.visit(`/#/invoice-in/1/intrastat`); });