Skip to content

Commit

Permalink
Fix upload binary
Browse files Browse the repository at this point in the history
Signed-off-by: Karishma Punwatkar <[email protected]>

	modified:   cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts

	modified:   cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts
  • Loading branch information
kpunwatk committed Aug 29, 2024
1 parent e7ec17b commit 241470d
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
} from "../../../../../utils/utils";
import { Analysis } from "../../../../models/migration/applicationinventory/analysis";
import { Application } from "../../../../models/migration/applicationinventory/application";
import { AnalysisStatuses } from "../../../../types/constants";
import { AnalysisStatuses, SEC } from "../../../../types/constants";

const applicationsList: Analysis[] = [];
describe(["@tier1"], "Upload Binary Analysis", () => {
Expand Down Expand Up @@ -63,6 +63,8 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
getRandomApplicationData("customRule_customTarget"),
getRandomAnalysisData(this.analysisData["uploadbinary_analysis_with_customrule"])
);
cy.wait(2 * SEC);
Application.open();
application.create();
applicationsList.push(application);
cy.wait("@getApplication");
Expand All @@ -77,6 +79,8 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
getRandomApplicationData("spring"),
getRandomAnalysisData(this.analysisData["analysis_for_spring_petclinic_app"])
);
cy.wait(2 * SEC);
Application.open();
application.create();
applicationsList.push(application);
cy.wait("@getApplication");
Expand All @@ -93,6 +97,8 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
this.analysisData["analysis_and_incident_validation_jeeExample_app"]
)
);
cy.wait(2 * SEC);
Application.open();
application.create();
applicationsList.push(application);
cy.wait("@getApplication");
Expand All @@ -109,6 +115,8 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
getRandomApplicationData("uploadBinary"),
getRandomAnalysisData(this.analysisData["analysis_and_incident_validation_camunda_app"])
);
cy.wait(2 * SEC);
Application.open();
application.create();
applicationsList.push(application);
cy.wait("@getApplication");
Expand All @@ -125,6 +133,8 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
getRandomApplicationData("uploadBinary"),
getRandomAnalysisData(this.analysisData["analysis_and_incident_validation_kafka-app"])
);
cy.wait(2 * SEC);
Application.open();
application.create();
applicationsList.push(application);
cy.wait("@getApplication");
Expand All @@ -141,6 +151,8 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
getRandomApplicationData("uploadBinary"),
getRandomAnalysisData(this.analysisData["upload_binary_with_exculde_packages"])
);
cy.wait(2 * SEC);
Application.open();
application.create();
applicationsList.push(application);
cy.wait("@getApplication");
Expand Down

0 comments on commit 241470d

Please sign in to comment.