Skip to content

Commit

Permalink
Fix(tenant): Update e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arimet committed Sep 14, 2023
1 parent 462ffc0 commit 3de7c73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cypress/support/datasetImportPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
};
Expand All @@ -23,7 +23,6 @@ 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('[role="grid"]', { timeout: 6000 }).should('exist');
};

Expand Down
2 changes: 1 addition & 1 deletion cypress/support/enrichmentFormPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit 3de7c73

Please sign in to comment.