Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kpunwatk committed Nov 21, 2024
1 parent a26c34d commit a6a4db7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/models/migration/applicationinventory/analysis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
);
Expand Down

0 comments on commit a6a4db7

Please sign in to comment.