Skip to content

Commit

Permalink
[TA] Automates bug MTA-3440
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/source_analysis_without_creds.test.ts
	modified:   cypress/fixtures/analysis.json
  • Loading branch information
kpunwatk committed Aug 22, 2024
1 parent 2f4e26b commit 53aff07
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,23 @@ describe(["@tier1"], "Source Analysis without credentials", () => {
TaskManager.verifyStatus(application.name, succeeded);
});

// Automates Bug https://issues.redhat.com/browse/MTA-3440
it("Source analysis on bookserver app with EAP8 target", function () {
application = new Analysis(
getRandomApplicationData("bookserverApp", {
sourceData: this.appData["bookserver-app"],
}),
getRandomAnalysisData(this.analysisData["EAP8_bookserverapp"])
);
application.create();
applicationsList.push(application);
cy.wait("@getApplication");
cy.wait(2000);
application.analyze();
checkSuccessAlert(infoAlertMessage, `Submitted for analysis`);
application.verifyAnalysisStatus("Completed");
});

after("Perform test data clean up", function () {
cy.wait(2000);
Application.open(true);
Expand Down
5 changes: 5 additions & 0 deletions cypress/fixtures/analysis.json
Original file line number Diff line number Diff line change
Expand Up @@ -1220,5 +1220,10 @@
"labels": ["None"]
}
]
},
"EAP8_bookserverapp": {
"source": "Source code",
"target": ["Application server migration to"],
"appName": "book-server"
}
}

0 comments on commit 53aff07

Please sign in to comment.