Skip to content

Commit

Permalink
lint: frontend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edelclaux committed Jan 23, 2025
1 parent d8f8e1c commit 09fae83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 09fae83

Please sign in to comment.