From 5e95ed2af2c826e8d2e57bb295dbcb16344ddd43 Mon Sep 17 00:00:00 2001 From: Anthony Rimet Date: Thu, 14 Sep 2023 15:08:42 +0200 Subject: [PATCH] Fix(tenant): Update e2e tests --- cypress/support/datasetImportPage.js | 4 ++-- cypress/support/enrichmentFormPage.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/support/datasetImportPage.js b/cypress/support/datasetImportPage.js index 55743a16d2..b0e9f77429 100644 --- a/cypress/support/datasetImportPage.js +++ b/cypress/support/datasetImportPage.js @@ -9,7 +9,7 @@ export const openImport = () => { export const importDataset = (filename, mimeType = 'text/csv') => { addFile(filename, mimeType); - cy.get('.progress-container', { timeout: 2500 }).should('be.visible'); + cy.get('.progress-container', { timeout: 6000 }).should('be.visible'); cy.wait(300); cy.get('[role="grid"]', { timeout: 6000 }).should('exist'); }; @@ -23,7 +23,7 @@ export const importOtherDataset = (filename, mimeType = 'text/csv') => { cy.get('#confirm-upload', { timeout: 3000 }).should('be.visible'); cy.wait(300); cy.contains('Accept').click({ force: true }); - cy.get('.progress-container', { timeout: 2500 }).should('be.visible'); + cy.get('.progress-container', { timeout: 6000 }).should('be.visible'); cy.get('[role="grid"]', { timeout: 6000 }).should('exist'); }; diff --git a/cypress/support/enrichmentFormPage.js b/cypress/support/enrichmentFormPage.js index a78dfd7779..862b6a350f 100644 --- a/cypress/support/enrichmentFormPage.js +++ b/cypress/support/enrichmentFormPage.js @@ -38,7 +38,7 @@ export const runEnrichment = () => { cy.contains('Run', { timeout: 1500 }).click({ force: true, }); - cy.get('.progress-container', { timeout: 2500 }).should('be.visible'); + cy.get('.progress-container', { timeout: 4000 }).should('be.visible'); }; export const checkIfEnrichmentExistInDataset = () => {