From 09fae83d71e617ef887cdfde0d17a78810b709d2 Mon Sep 17 00:00:00 2001 From: Etienne Delclaux Date: Thu, 23 Jan 2025 12:43:32 +0100 Subject: [PATCH] lint: frontend tests --- .../e2e/import/navigation-check-back-each-steps-spec.js | 5 ++--- .../e2e/import/navigation-mappings-cancel-save-spec.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/cypress/e2e/import/navigation-check-back-each-steps-spec.js b/frontend/cypress/e2e/import/navigation-check-back-each-steps-spec.js index c5f4df5509..2cc4b0be03 100644 --- a/frontend/cypress/e2e/import/navigation-check-back-each-steps-spec.js +++ b/frontend/cypress/e2e/import/navigation-check-back-each-steps-spec.js @@ -94,8 +94,7 @@ describe('Import Process Navigation', () => { // Navigation from list to upload by using Edit action cy.get('@rowIndex').then((rowIndex) => { cy.get(getSelectorImportListTableRowEdit(rowIndex)).should('be.enabled').click(); - cy.get(SELECTOR_IMPORT_MODAL_EDIT_VALIDATE).should('exist').click() - + cy.get(SELECTOR_IMPORT_MODAL_EDIT_VALIDATE).should('exist').click(); }); cy.wait(TIMEOUT_WAIT); // Should go on last step edited --> decode file @@ -174,7 +173,7 @@ describe('Import Process Navigation', () => { // Navigation from list to upload by using Edit action cy.get('@rowIndex').then((rowIndex) => { cy.get(getSelectorImportListTableRowEdit(rowIndex)).should('be.enabled').click(); - cy.get(SELECTOR_IMPORT_MODAL_EDIT_VALIDATE).should('exist').click() + cy.get(SELECTOR_IMPORT_MODAL_EDIT_VALIDATE).should('exist').click(); }); cy.wait(TIMEOUT_WAIT); // Should go on last step edited --> decode file diff --git a/frontend/cypress/e2e/import/navigation-mappings-cancel-save-spec.js b/frontend/cypress/e2e/import/navigation-mappings-cancel-save-spec.js index 86d368c15d..d0827c2bc7 100644 --- a/frontend/cypress/e2e/import/navigation-mappings-cancel-save-spec.js +++ b/frontend/cypress/e2e/import/navigation-mappings-cancel-save-spec.js @@ -49,7 +49,7 @@ function checkImportIsNotFirstInList(importId) { function clickOnFirstLineEdit() { cy.get(getSelectorImportListTableRowEdit(0)).click(); - cy.get(SELECTOR_IMPORT_MODAL_EDIT_VALIDATE).should('exist').click() + cy.get(SELECTOR_IMPORT_MODAL_EDIT_VALIDATE).should('exist').click(); cy.wait(TIMEOUT_WAIT); }