Skip to content

Commit

Permalink
minor_chang (konveyor#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpunwatk authored Aug 16, 2024
1 parent 7aa4edb commit 22a761a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ describe(["@tier1"], "Source Analysis", () => {
cy.wait("@getApplication");
application.analyze();
application.verifyAnalysisStatus("Completed");
application.verifyEffort(this.analysisData["analysis_for_disableTagging"]["effort"]);
application.applicationDetailsTab("Tags");
cy.get("h2", { timeout: 5 * SEC }).should("contain", "No tags available");
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ describe(["@tier1"], "Upload Binary Analysis", () => {

application.analyze();
application.verifyAnalysisStatus(AnalysisStatuses.completed);
application.verifyEffort(this.analysisData["uploadbinary_analysis_on_acmeair"]["effort"]);
});

it("Custom rules with custom targets", function () {
Expand Down Expand Up @@ -98,6 +99,9 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
cy.wait(2000);
application.analyze();
application.verifyAnalysisStatus(AnalysisStatuses.completed);
application.verifyEffort(
this.analysisData["analysis_and_incident_validation_jeeExample_app"]["effort"]
);
});

it("Analysis for camunda-bpm-spring-boot-starter", function () {
Expand All @@ -111,6 +115,9 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
cy.wait(2000);
application.analyze();
application.verifyAnalysisStatus(AnalysisStatuses.completed);
application.verifyEffort(
this.analysisData["analysis_and_incident_validation_camunda_app"]["effort"]
);
});

it("Analysis for kafka-clients-sb app ", function () {
Expand All @@ -124,6 +131,9 @@ describe(["@tier1"], "Upload Binary Analysis", () => {
cy.wait(2000);
application.analyze();
application.verifyAnalysisStatus(AnalysisStatuses.completed);
application.verifyEffort(
this.analysisData["analysis_and_incident_validation_kafka-app"]["effort"]
);
});

it(["@tier2", "@dc"], "upload_binary_with_exculde_packages_scope", function () {
Expand Down
29 changes: 6 additions & 23 deletions cypress/fixtures/analysis.json
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@
"target": ["Jakarta EE 9"],
"binary": ["acmeair-webapp-1.0-SNAPSHOT.war"],
"appName": "acmeair-webapp-1.0-SNAPSHOT.war",
"storyPoints": 78
"effort": 78
},

"uploadbinary_analysis_with_customrule": {
Expand Down Expand Up @@ -923,7 +923,7 @@
"target": ["Containerization"],
"appName": "book-server",
"disableTagging": true,
"storyPoints": 5
"effort": 2
},

"analysis_for_spring_petclinic_app": {
Expand Down Expand Up @@ -976,7 +976,7 @@
"binary": ["jee-example-app-1.0.0.ear"],
"appsName": "jee-example-app-1.0.0.ear",
"target": ["Quarkus"],
"storyPoints": 27,
"effort": 85,
"incidents": [
{
"mandatory": 27,
Expand All @@ -993,7 +993,7 @@
"binary": ["camunda-bpm-spring-boot-starter-example-war-2.0.0.war"],
"appName": "camunda-bpm-spring-boot-starter-example-war-2.0.0.war",
"target": ["Quarkus"],
"storyPoints": 213,
"effort": 20,
"incidents": [
{
"mandatory": 86,
Expand All @@ -1005,29 +1005,12 @@
]
},

"analysis_and_incident_validation_complete-duke": {
"source": "Upload a local binary",
"binary": ["complete-duke.zip"],
"appName": "complete-duke.zip",
"target": ["Jakarta EE 9"],
"storyPoints": 29,
"incidents": [
{
"mandatory": 29,
"optional": 0,
"potential": 0,
"information": 1,
"total": 30
}
]
},

"analysis_and_incident_validation_kafka-app": {
"source": "Upload a local binary",
"binary": ["kafka-clients-sb-sample.jar"],
"appName": "kafka-clients-sb-sample.jar",
"target": ["Quarkus"],
"storyPoints": 184,
"effort": 6,
"incidents": [
{
"mandatory": 20,
Expand All @@ -1051,7 +1034,7 @@
"source": "Source code",
"target": ["Containerization"],
"appName": "example-1",
"effort": 2
"effort": 8
},
"source_analysis_on_nexus_app": {
"source": "Source code",
Expand Down

0 comments on commit 22a761a

Please sign in to comment.