Skip to content

Commit

Permalink
[RFR] Fix analysis_with_proxyenabled test case
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/analysis_with_proxyenabled.test.ts
	modified:   cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts

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

	modified:   cypress/e2e/tests/migration/applicationinventory/analysis/analysis_with_proxyenabled.test.ts
  • Loading branch information
kpunwatk committed Mar 8, 2024
1 parent db9128e commit 8c699b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ describe(["@tier2"], "Running analysis with incorrect proxy configuration", () =
});

after("Perform test data clean up", function () {
httpProxy.disable();
httpsProxy.disable();
Proxy.open();
httpProxy.unConfigureProxy();
httpsProxy.unConfigureProxy();
application.delete();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
cy.intercept("GET", "/hub/application*").as("getApplication");
});

it(["@interop"], "Upload Binary Analysis", function () {
it(["@interop"], "Analysis for acmeair app upload binary", function () {
const application = new Analysis(
getRandomApplicationData("uploadBinary"),
getRandomApplicationData("acmeair_app"),
getRandomAnalysisData(this.analysisData["uploadbinary_analysis_on_acmeair"])
);
application.create();
Expand Down

0 comments on commit 8c699b4

Please sign in to comment.