diff --git a/cypress/e2e/models/migration/applicationinventory/analysis.ts b/cypress/e2e/models/migration/applicationinventory/analysis.ts index 63c49b8ed..9d098ab57 100644 --- a/cypress/e2e/models/migration/applicationinventory/analysis.ts +++ b/cypress/e2e/models/migration/applicationinventory/analysis.ts @@ -375,11 +375,11 @@ export class Analysis extends Application { } public verifyEffort(effort: number) { - cy.get(tdTag) + cy.get(tdTag, { timeout: 30 * SEC }) .contains(this.name) .closest(trTag) .within(() => { - cy.get(effortColumn).should("contain", `${effort}`); + cy.get(effortColumn, { timeout: 30 * SEC }).should("contain", `${effort}`); }); } diff --git a/cypress/e2e/models/migration/applicationinventory/application.ts b/cypress/e2e/models/migration/applicationinventory/application.ts index 723559ac3..99336c369 100644 --- a/cypress/e2e/models/migration/applicationinventory/application.ts +++ b/cypress/e2e/models/migration/applicationinventory/application.ts @@ -158,7 +158,7 @@ export class Application { cy.visit(Application.fullUrl, { timeout: 35 * SEC }).then((_) => { // Bug MTA-3812 Application Inventory page takes long to load // Timeout time of 100s to be reduced after above bug is fixed - cy.get("h1", { timeout: 100 * SEC }).should("contain", applicationInventory); + cy.get("h1", { timeout: 200 * SEC }).should("contain", applicationInventory); selectItemsPerPage(itemsPerPage); }); return; diff --git a/cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts b/cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts index edfdd882b..930706f5f 100644 --- a/cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts +++ b/cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts @@ -69,7 +69,7 @@ describe(["@tier1"], "Upload Binary Analysis", () => { cy.wait("@getApplication"); cy.wait(2000); application.analyze(); - application.verifyAnalysisStatus(AnalysisStatuses.completed); + application.verifyAnalysisStatus("Completed"); application.verifyEffort( this.analysisData["uploadbinary_analysis_with_customrule"]["effort"] );