diff --git a/cypress/e2e/tests/migration/applicationinventory/analysis/binary_analysis.test.ts b/cypress/e2e/tests/migration/applicationinventory/analysis/binary_analysis.test.ts index 24190c6dc..d7f209613 100644 --- a/cypress/e2e/tests/migration/applicationinventory/analysis/binary_analysis.test.ts +++ b/cypress/e2e/tests/migration/applicationinventory/analysis/binary_analysis.test.ts @@ -28,6 +28,7 @@ import { AnalysisStatuses, CredentialType, UserCredentials } from "../../../../t import { CredentialsSourceControlUsername } from "../../../../models/administration/credentials/credentialsSourceControlUsername"; import { CredentialsMaven } from "../../../../models/administration/credentials/credentialsMaven"; import { MavenConfiguration } from "../../../../models/administration/repositories/maven"; +import { Application } from "../../../../models/migration/applicationinventory/application"; let source_credential: CredentialsSourceControlUsername; let maven_credential: CredentialsMaven; const mavenConfiguration = new MavenConfiguration(); @@ -82,6 +83,7 @@ describe(["@tier1"], "Binary Analysis", () => { application.manageCredentials(source_credential.name, maven_credential.name); application.analyze(); application.verifyAnalysisStatus(AnalysisStatuses.completed); + Application.open(true); application.verifyEffort(this.analysisData["binary_analysis_on_tackletestapp"]["effort"]); }); diff --git a/cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts b/cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts index edfdd882b..0d7146d03 100644 --- a/cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts +++ b/cypress/e2e/tests/migration/applicationinventory/analysis/upload_binary_analysis.test.ts @@ -55,6 +55,7 @@ describe(["@tier1"], "Upload Binary Analysis", () => { application.analyze(); application.verifyAnalysisStatus(AnalysisStatuses.completed); + Application.open(true); application.verifyEffort(this.analysisData["uploadbinary_analysis_on_acmeair"]["effort"]); }); @@ -70,6 +71,7 @@ describe(["@tier1"], "Upload Binary Analysis", () => { cy.wait(2000); application.analyze(); application.verifyAnalysisStatus(AnalysisStatuses.completed); + Application.open(true); application.verifyEffort( this.analysisData["uploadbinary_analysis_with_customrule"]["effort"] ); @@ -84,7 +86,6 @@ describe(["@tier1"], "Upload Binary Analysis", () => { applicationsList.push(application); cy.wait("@getApplication"); cy.wait(2000); - application.analyze(); application.verifyAnalysisStatus(AnalysisStatuses.completed); }); @@ -102,6 +103,7 @@ describe(["@tier1"], "Upload Binary Analysis", () => { cy.wait(2000); application.analyze(); application.verifyAnalysisStatus("Completed"); + Application.open(true); application.verifyEffort( this.analysisData["analysis_and_incident_validation_jeeExample_app"]["effort"] ); @@ -118,6 +120,7 @@ describe(["@tier1"], "Upload Binary Analysis", () => { cy.wait(2000); application.analyze(); application.verifyAnalysisStatus("Completed"); + Application.open(true); application.verifyEffort( this.analysisData["analysis_and_incident_validation_camunda_app"]["effort"] ); @@ -134,6 +137,7 @@ describe(["@tier1"], "Upload Binary Analysis", () => { cy.wait(2000); application.analyze(); application.verifyAnalysisStatus(AnalysisStatuses.completed); + Application.open(true); application.verifyEffort( this.analysisData["analysis_and_incident_validation_kafka-app"]["effort"] );