From 9f783c89e99f84c1f6eceee3aef2a37cda9c1322 Mon Sep 17 00:00:00 2001 From: Shveta Sachdeva Date: Sun, 10 Dec 2023 22:05:27 -0800 Subject: [PATCH] [RFR] Fix Jenkins failures build 47 (#871) * Fix Jenkins failures build 47 Signed-off-by: Shveta Sachdeva * Fix Jenkins failures build 47 Signed-off-by: Shveta Sachdeva --------- Signed-off-by: Shveta Sachdeva Co-authored-by: Shveta Sachdeva --- .../questionnaires/miscellaneous.test.ts | 5 +- .../analysis/upload_binary_analysis.test.ts | 6 +- .../applications/filter.test.ts | 17 +- .../assessment/miscellaneous.test.ts | 4 +- .../migration-waves/field_validation.test.ts | 21 +- .../migration/reports/applicationRisk.test.ts | 9 +- .../upload_binary_analysis_architect.test.ts | 17 - .../upload_binary_analysis_migrator.test.ts | 18 - cypress/e2e/types/constants.ts | 1 + cypress/fixtures/analysis.json | 3 +- .../questionnaire_import/cloud-native.yaml | 482 ++++++++++-------- cypress/utils/utils.ts | 2 + 12 files changed, 297 insertions(+), 288 deletions(-) diff --git a/cypress/e2e/tests/administration/questionnaires/miscellaneous.test.ts b/cypress/e2e/tests/administration/questionnaires/miscellaneous.test.ts index 5721a73cb..4fccb23f7 100644 --- a/cypress/e2e/tests/administration/questionnaires/miscellaneous.test.ts +++ b/cypress/e2e/tests/administration/questionnaires/miscellaneous.test.ts @@ -23,7 +23,10 @@ describe(["@tier3"], "Miscellaneous Questinnaire tests", () => { throw new Error(`File is not in YAML format: ${filePath}`); } }); - cy.readFile(filePath).should("contain", "Test questionnaire (SAMPLE)"); + cy.readFile(filePath).should( + "contain", + "Uploadable Cloud Readiness Questionnaire Template" + ); }); after("Cleaning up", function () { 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 747191a78..aea202222 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 @@ -71,10 +71,10 @@ describe(["@tier1"], "Upload Binary Analysis", () => { application.verifyAnalysisStatus(AnalysisStatuses.completed); }); - it("DIVA report generation", function () { + it("Analysis for spring-petclinic application", function () { const application = new Analysis( - getRandomApplicationData("DIVA"), - getRandomAnalysisData(this.analysisData["analysis_for_DIVA-report"]) + getRandomApplicationData("spring"), + getRandomAnalysisData(this.analysisData["analysis_for_spring_petclinic_app"]) ); application.create(); applicationsList.push(application); diff --git a/cypress/e2e/tests/migration/applicationinventory/applications/filter.test.ts b/cypress/e2e/tests/migration/applicationinventory/applications/filter.test.ts index 4b58ecb33..bc1d6fea3 100644 --- a/cypress/e2e/tests/migration/applicationinventory/applications/filter.test.ts +++ b/cypress/e2e/tests/migration/applicationinventory/applications/filter.test.ts @@ -30,7 +30,6 @@ import { } from "../../../../../utils/utils"; import { button, - name, clearAllFilters, tag, CredentialType, @@ -40,6 +39,7 @@ import { subversion, git, artifact, + appName, } from "../../../../types/constants"; import * as data from "../../../../../utils/data_utils"; @@ -107,7 +107,7 @@ describe(["@tier2"], "Application inventory filter validations", function () { // Enter an existing name substring and assert var validSearchInput = applicationsList[0].name.substring(0, 11); - applySearchFilter(name, validSearchInput); + applySearchFilter(appName, validSearchInput); cy.wait(2000); exists(applicationsList[0].name); @@ -117,20 +117,9 @@ describe(["@tier2"], "Application inventory filter validations", function () { clickByText(button, clearAllFilters); // Enter an exact existing name and assert - applySearchFilter(name, applicationsList[1].name); + applySearchFilter(appName, applicationsList[1].name); cy.wait(2000); exists(applicationsList[1].name); - - clickByText(button, clearAllFilters); - - // Enter a non-existing name substring and apply it as search filter - applySearchFilter(name, invalidSearchInput); - cy.wait(3000); - - // Assert that no search results are found - cy.get("h2").contains("No applications available"); - - // Clear all filters clickByText(button, clearAllFilters); }); diff --git a/cypress/e2e/tests/migration/applicationinventory/assessment/miscellaneous.test.ts b/cypress/e2e/tests/migration/applicationinventory/assessment/miscellaneous.test.ts index 4d2a7403f..72881f6ce 100644 --- a/cypress/e2e/tests/migration/applicationinventory/assessment/miscellaneous.test.ts +++ b/cypress/e2e/tests/migration/applicationinventory/assessment/miscellaneous.test.ts @@ -41,7 +41,7 @@ let stakeholderList: Array = []; let applicationList: Array = []; const yamlFile = "questionnaire_import/cloud-native.yaml"; -describe(["@tier3"], "1 Bug: Tests related to application assessment and review", () => { +describe(["@tier3"], "Tests related to application assessment and review", () => { before("Perform application assessment and review", function () { login(); cy.intercept("GET", "/hub/application*").as("getApplication"); @@ -88,7 +88,7 @@ describe(["@tier3"], "1 Bug: Tests related to application assessment and review" applicationList[0].verifyStatus("review", "Not started"); }); - it("Bug MTA-1722: View archived questionnaire", function () { + it("View archived questionnaire", function () { // Polarion TC MTA-392 const application = new Application(getRandomApplicationData()); application.create(); diff --git a/cypress/e2e/tests/migration/migration-waves/field_validation.test.ts b/cypress/e2e/tests/migration/migration-waves/field_validation.test.ts index a806d3bbf..93ecb1589 100644 --- a/cypress/e2e/tests/migration/migration-waves/field_validation.test.ts +++ b/cypress/e2e/tests/migration/migration-waves/field_validation.test.ts @@ -75,26 +75,19 @@ describe(["@tier1"], "Migration Waves Validations", () => { .closest(MigrationWaveView.generalDatePicker) .find(MigrationWaveView.calendarButton) .click(); + // Start date can be today's date and after. + cy.get(`button[aria-label="${nowDateLabel}"]`).should("be.enabled").click(); + const tomorrow = new Date(now); tomorrow.setDate(now.getDate() + 1); - const dateTomorrowLabel = new Intl.DateTimeFormat("en-GB", options).format(tomorrow); - // Start date should be greater than actual date - cy.get(`button[aria-label="${nowDateLabel}"]`).should("be.disabled"); - cy.get(`button[aria-label="${dateTomorrowLabel}"]`).should("be.enabled").click(); - cy.get(MigrationWaveView.endDateInput) .closest(MigrationWaveView.generalDatePicker) .find(MigrationWaveView.calendarButton) - .click(); // End date should be greater than start date - cy.get(`button[aria-label="${dateTomorrowLabel}"]`).should("be.disabled"); - const dayAfterTomorrow = new Date(now); - dayAfterTomorrow.setDate(now.getDate() + 2); - const dayAfterTomorrowLabel = new Intl.DateTimeFormat("en-GB", options).format( - dayAfterTomorrow - ); - cy.get(`button[aria-label="${dayAfterTomorrowLabel}"]`).should("be.enabled").click(); - + .click(); + // End date should be greater than start date + cy.get(`button[aria-label="${nowDateLabel}"]`).should("be.disabled"); + cy.get(`button[aria-label="${dateTomorrowLabel}"]`).should("be.enabled").click(); cy.get(commonView.submitButton).should("be.enabled"); clickJs(cancelButton); }); diff --git a/cypress/e2e/tests/migration/reports/applicationRisk.test.ts b/cypress/e2e/tests/migration/reports/applicationRisk.test.ts index 9a128708c..5cfaf3a8d 100644 --- a/cypress/e2e/tests/migration/reports/applicationRisk.test.ts +++ b/cypress/e2e/tests/migration/reports/applicationRisk.test.ts @@ -25,19 +25,20 @@ import { } from "../../../../utils/utils"; import { verifyApplicationRisk } from "../../../models/migration/reports/reports"; import { navMenu } from "../../../views/menu.view"; -import { migration, reports, SEC } from "../../../types/constants"; +import { legacyPathfinder, migration, reports, SEC } from "../../../types/constants"; import { Stakeholders } from "../../../models/migration/controls/stakeholders"; import { Application } from "../../../models/migration/applicationinventory/application"; +import { AssessmentQuestionnaire } from "../../../models/administration/assessment_questionnaire/assessment_questionnaire"; let stakeholdersList: Array = []; let applicationsList: Array = []; -describe(["@tier2"], "1 Bug: Application risks tests", () => { +describe(["@tier2"], "Application risks tests", () => { let riskType = ["low", "medium", "high"]; before("Login and Create Test Data", function () { login(); - + AssessmentQuestionnaire.enable(legacyPathfinder); stakeholdersList = createMultipleStakeholders(1); applicationsList = createMultipleApplications(3); for (let i = 0; i < applicationsList.length; i++) { @@ -51,7 +52,7 @@ describe(["@tier2"], "1 Bug: Application risks tests", () => { } }); - it("Bug MTA-1746: Application risk validation", function () { + it("Application risk validation", function () { selectUserPerspective(migration); clickByText(navMenu, reports); cy.wait(3 * SEC); diff --git a/cypress/e2e/tests/rbac/upload_binary_analysis_architect.test.ts b/cypress/e2e/tests/rbac/upload_binary_analysis_architect.test.ts index 3c2d57932..4811dcaa2 100644 --- a/cypress/e2e/tests/rbac/upload_binary_analysis_architect.test.ts +++ b/cypress/e2e/tests/rbac/upload_binary_analysis_architect.test.ts @@ -89,23 +89,6 @@ describe(["@tier3"], "Upload Binary Analysis", () => { application.verifyAnalysisStatus(AnalysisStatuses.completed); }); - it("DIVA report generation", function () { - const application = new Analysis( - getRandomApplicationData("DIVA"), - getRandomAnalysisData(this.analysisData["analysis_for_DIVA-report"]) - ); - application.create(); - applications.push(application); - cy.wait("@getApplication"); - cy.wait(2 * SEC); - // Need to log out as admin and login as Architect to perform analysis - logout(); - userArchitect.login(); - - application.analyze(); - application.verifyAnalysisStatus(AnalysisStatuses.completed); - }); - afterEach("Persist session", function () { Application.open(true); }); diff --git a/cypress/e2e/tests/rbac/upload_binary_analysis_migrator.test.ts b/cypress/e2e/tests/rbac/upload_binary_analysis_migrator.test.ts index 8ca797497..024cdf43c 100644 --- a/cypress/e2e/tests/rbac/upload_binary_analysis_migrator.test.ts +++ b/cypress/e2e/tests/rbac/upload_binary_analysis_migrator.test.ts @@ -87,24 +87,6 @@ describe.skip(["@tier3"], "Upload Binary Analysis", () => { application.verifyAnalysisStatus(AnalysisStatuses.completed); }); - it("Bug MTA-1455: DIVA report generation", function () { - const application = new Analysis( - getRandomApplicationData("DIVA"), - getRandomAnalysisData(this.analysisData["analysis_for_DIVA-report"]) - ); - application.create(); - applications.push(application); - - cy.wait("@getApplication"); - cy.wait(2 * SEC); - // Need to log out as admin and login as Architect to perform analysis - logout(); - userMigrator.login(); - - application.analyze(); - application.verifyAnalysisStatus(AnalysisStatuses.completed); - }); - afterEach("Persist session", function () { Application.open(true); }); diff --git a/cypress/e2e/types/constants.ts b/cypress/e2e/types/constants.ts index 630454cac..e14ac33b7 100644 --- a/cypress/e2e/types/constants.ts +++ b/cypress/e2e/types/constants.ts @@ -56,6 +56,7 @@ export const jobFunction = "Job function"; export const member = "Member"; export const memberCount = "Member count"; export const name = "Name"; +export const appName = "Name"; export const next = "Next"; export const priority = "Priority"; export const question = "Question"; diff --git a/cypress/fixtures/analysis.json b/cypress/fixtures/analysis.json index 5e9755989..10d6bfcf6 100644 --- a/cypress/fixtures/analysis.json +++ b/cypress/fixtures/analysis.json @@ -100,11 +100,10 @@ "storyPoints": 5 }, - "analysis_for_DIVA-report": { + "analysis_for_spring_petclinic_app": { "source": "Upload a local binary", "target": ["Jakarta EE 9"], "binary": ["spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar"], - "enableTransaction": true, "appName": "spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar", "storyPoints": 42 }, diff --git a/cypress/fixtures/questionnaire_import/cloud-native.yaml b/cypress/fixtures/questionnaire_import/cloud-native.yaml index b699d8a91..e6087d5f3 100644 --- a/cypress/fixtures/questionnaire_import/cloud-native.yaml +++ b/cypress/fixtures/questionnaire_import/cloud-native.yaml @@ -1,217 +1,273 @@ name: Cloud Native -description: | - Questionnaire that includes the Twelve Factor Application principles. - +description: Questionnaire that includes the Twelve Factor Application principles. +required: false sections: - - order: 1 - name: Application technologies 1 - questions: - - text: What is the main technology in your application? - explanation: What would you describe as the main framework used to build your application. - answers: - - text: Unknown - rationale: This is a problem because of the uncertainty. - mitigation: Gathering more information about this is required. - risk: unknown - - text: Quarkus - risk: green - autoAnswerFor: - - category: Technology - tag: Quarkus - applyTags: - - category: Technology - tag: Quarkus - - text: Spring Boot - risk: green - autoAnswerFor: - - category: Technology - tag: Spring Boot - applyTags: - - category: Technology - tag: Spring Boot - - text: Java EE - rationale: This might not be the most cloud friendly technology. - mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. - risk: yellow - autoAnswerFor: - - category: Technology - tag: Java EE - applyTags: - - category: Technology - tag: Java EE - - text: J2EE - rationale: This is obsolete. - mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. - risk: red - autoAnswerFor: - - category: Technology - tag: J2EE - applyTags: - - category: Technology - tag: J2EE - - text: "What version of Java EE does the application use?" - explanation: "What version of the Java EE specification is your application using?" - answers: - - text: Below 5. - rationale: This technology stack is obsolete. - mitigation: Consider migrating to at least Java EE 7. - risk: red - - text: 5 or 6 - rationale: This is a mostly outdated stack. - mitigation: Consider migrating to at least Java EE 7. - risk: yellow - - text: "7" - risk: green - includeFor: - - category: Technology - tag: Java EE - - text: Does your application use any caching mechanism? - answers: - - text: Yes - rationale: This could be problematic in containers and Kubernetes. - mitigation: Review the clustering mechanism to check compatibility and support for container environments. - risk: yellow - autoAnswerFor: - - category: Caching - tag: Infinispan - - category: Caching - tag: Datagrid - - category: Caching - tag: eXtreme Scale - - category: Caching - tag: Coherence - - text: No - risk: green - - text: Unknown - rationale: This is a problem because of the uncertainty. - mitigation: Gathering more information about this is required. - risk: unknown - - text: What implementation of JAX-WS does your application use? - answers: - - text: Apache Axis - rationale: This version is obsolete - mitigation: Consider migrating to Apache CXF - risk: red - - text: Apache CXF - risk: green - - text: Unknown - rationale: This is a problem because of the uncertainty. - mitigation: Gathering more information about this is required. - risk: unknown - excludeFor: - - category: Technology - tag: Spring Boot - - category: Technology - tag: Quarkus - - - order: 2 - name: Application technologies - questions: - - text: What is the main technology in your application? - explanation: What would you describe as the main framework used to build your application. - answers: - - text: Unknown - rationale: This is a problem because of the uncertainty. - mitigation: Gathering more information about this is required. - risk: unknown - - text: Quarkus - risk: green - autoAnswerFor: - - category: Technology - tag: Quarkus - applyTags: - - category: Technology - tag: Quarkus - - text: Spring Boot - risk: green - autoAnswerFor: - - category: Technology - tag: Spring Boot - applyTags: - - category: Technology - tag: Spring Boot - - text: Java EE - rationale: This might not be the most cloud friendly technology. - mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. - risk: yellow - autoAnswerFor: - - category: Technology - tag: Java EE - applyTags: - - category: Technology - tag: Java EE - - text: J2EE - rationale: This is obsolete. - mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. - risk: red - autoAnswerFor: - - category: Technology - tag: J2EE - applyTags: - - category: Technology - tag: J2EE - - text: "What version of Java EE does the application use?" - explanation: "What version of the Java EE specification is your application using?" - answers: - - text: Below 5. - rationale: This technology stack is obsolete. - mitigation: Consider migrating to at least Java EE 7. - risk: red - - text: 5 or 6 - rationale: This is a mostly outdated stack. - mitigation: Consider migrating to at least Java EE 7. - risk: yellow - - text: "7" - risk: green - includeFor: - - category: Technology - tag: Java EE - - text: Does your application use any caching mechanism? - answers: - - text: Yes - rationale: This could be problematic in containers and Kubernetes. - mitigation: Review the clustering mechanism to check compatibility and support for container environments. - risk: yellow - autoAnswerFor: - - category: Caching - tag: Infinispan - - category: Caching - tag: Datagrid - - category: Caching - tag: eXtreme Scale - - category: Caching - tag: Coherence - - text: No - risk: green - - text: Unknown - rationale: This is a problem because of the uncertainty. - mitigation: Gathering more information about this is required. - risk: unknown - - text: What implementation of JAX-WS does your application use? - answers: - - text: Apache Axis - rationale: This version is obsolete - mitigation: Consider migrating to Apache CXF - risk: red - - text: Apache CXF - risk: green - - text: Unknown - rationale: This is a problem because of the uncertainty. - mitigation: Gathering more information about this is required. - risk: unknown - excludeFor: - - category: Technology - tag: Spring Boot - - category: Technology - tag: Quarkus - + - order: 1 + name: Application technologies 1 + questions: + - order: 0 + text: What is the main technology in your application? + explanation: What would you describe as the main framework used to build your application. + answers: + - order: 0 + text: Unknown + risk: unknown + rationale: This is a problem because of the uncertainty. + mitigation: Gathering more information about this is required. + - order: 0 + text: Quarkus + risk: green + rationale: "" + mitigation: "" + applyTags: + - category: Technology + tag: Quarkus + autoAnswerFor: + - category: Technology + tag: Quarkus + - order: 0 + text: Spring Boot + risk: green + rationale: "" + mitigation: "" + applyTags: + - category: Technology + tag: Spring Boot + autoAnswerFor: + - category: Technology + tag: Spring Boot + - order: 0 + text: Java EE + risk: yellow + rationale: This might not be the most cloud friendly technology. + mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. + applyTags: + - category: Technology + tag: Java EE + autoAnswerFor: + - category: Technology + tag: Java EE + - order: 0 + text: J2EE + risk: red + rationale: This is obsolete. + mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. + applyTags: + - category: Technology + tag: J2EE + autoAnswerFor: + - category: Technology + tag: J2EE + - order: 0 + text: What version of Java EE does the application use? + explanation: What version of the Java EE specification is your application using? + includeFor: + - category: Technology + tag: Java EE + answers: + - order: 0 + text: Below 5. + risk: red + rationale: This technology stack is obsolete. + mitigation: Consider migrating to at least Java EE 7. + - order: 0 + text: 5 or 6 + risk: yellow + rationale: This is a mostly outdated stack. + mitigation: Consider migrating to at least Java EE 7. + - order: 0 + text: "7" + risk: green + rationale: "" + mitigation: "" + - order: 0 + text: Does your application use any caching mechanism? + explanation: "" + answers: + - order: 0 + text: "Yes" + risk: yellow + rationale: This could be problematic in containers and Kubernetes. + mitigation: Review the clustering mechanism to check compatibility and support for container environments. + autoAnswerFor: + - category: Caching + tag: Infinispan + - category: Caching + tag: Datagrid + - category: Caching + tag: eXtreme Scale + - category: Caching + tag: Coherence + - order: 0 + text: "No" + risk: green + rationale: "" + mitigation: "" + - order: 0 + text: Unknown + risk: unknown + rationale: This is a problem because of the uncertainty. + mitigation: Gathering more information about this is required. + - order: 0 + text: What implementation of JAX-WS does your application use? + explanation: "" + excludeFor: + - category: Technology + tag: Spring Boot + - category: Technology + tag: Quarkus + answers: + - order: 0 + text: Apache Axis + risk: red + rationale: This version is obsolete + mitigation: Consider migrating to Apache CXF + - order: 0 + text: Apache CXF + risk: green + rationale: "" + mitigation: "" + - order: 0 + text: Unknown + risk: unknown + rationale: This is a problem because of the uncertainty. + mitigation: Gathering more information about this is required. + - order: 2 + name: Application technologies + questions: + - order: 0 + text: What is the main technology in your application? + explanation: What would you describe as the main framework used to build your application. + answers: + - order: 0 + text: Unknown + risk: unknown + rationale: This is a problem because of the uncertainty. + mitigation: Gathering more information about this is required. + - order: 0 + text: Quarkus + risk: green + rationale: "" + mitigation: "" + applyTags: + - category: Technology + tag: Quarkus + autoAnswerFor: + - category: Technology + tag: Quarkus + - order: 0 + text: Spring Boot + risk: green + rationale: "" + mitigation: "" + applyTags: + - category: Technology + tag: Spring Boot + autoAnswerFor: + - category: Technology + tag: Spring Boot + - order: 0 + text: Java EE + risk: yellow + rationale: This might not be the most cloud friendly technology. + mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. + applyTags: + - category: Technology + tag: Java EE + autoAnswerFor: + - category: Technology + tag: Java EE + - order: 0 + text: J2EE + risk: red + rationale: This is obsolete. + mitigation: Maybe start thinking about migrating to Quarkus or Jakarta EE. + applyTags: + - category: Technology + tag: J2EE + autoAnswerFor: + - category: Technology + tag: J2EE + - order: 0 + text: What version of Java EE does the application use? + explanation: What version of the Java EE specification is your application using? + includeFor: + - category: Technology + tag: Java EE + answers: + - order: 0 + text: Below 5. + risk: red + rationale: This technology stack is obsolete. + mitigation: Consider migrating to at least Java EE 7. + - order: 0 + text: 5 or 6 + risk: yellow + rationale: This is a mostly outdated stack. + mitigation: Consider migrating to at least Java EE 7. + - order: 0 + text: "7" + risk: green + rationale: "" + mitigation: "" + - order: 0 + text: Does your application use any caching mechanism? + explanation: "" + answers: + - order: 0 + text: "Yes" + risk: yellow + rationale: This could be problematic in containers and Kubernetes. + mitigation: Review the clustering mechanism to check compatibility and support for container environments. + autoAnswerFor: + - category: Caching + tag: Infinispan + - category: Caching + tag: Datagrid + - category: Caching + tag: eXtreme Scale + - category: Caching + tag: Coherence + - order: 0 + text: "No" + risk: green + rationale: "" + mitigation: "" + - order: 0 + text: Unknown + risk: unknown + rationale: This is a problem because of the uncertainty. + mitigation: Gathering more information about this is required. + - order: 0 + text: What implementation of JAX-WS does your application use? + explanation: "" + excludeFor: + - category: Technology + tag: Spring Boot + - category: Technology + tag: Quarkus + answers: + - order: 0 + text: Apache Axis + risk: red + rationale: This version is obsolete + mitigation: Consider migrating to Apache CXF + - order: 0 + text: Apache CXF + risk: green + rationale: "" + mitigation: "" + - order: 0 + text: Unknown + risk: unknown + rationale: This is a problem because of the uncertainty. + mitigation: Gathering more information about this is required. thresholds: - red: 1 - yellow: 30 - unknown: 15 - + red: 1 + yellow: 30 + unknown: 15 riskMessages: - red: Application requires deep changes in architecture or lifecycle - yellow: Application is Cloud friendly but requires some minor changes - green: Application is Cloud Native - unknown: More information about the application is required + red: Application requires deep changes in architecture or lifecycle + yellow: Application is Cloud friendly but requires some minor changes + green: Application is Cloud Native + unknown: More information about the application is required \ No newline at end of file diff --git a/cypress/utils/utils.ts b/cypress/utils/utils.ts index 60f68cc72..04ad8a914 100644 --- a/cypress/utils/utils.ts +++ b/cypress/utils/utils.ts @@ -50,6 +50,7 @@ import { migration, businessServiceLower, filterIssue, + appName, } from "../e2e/types/constants"; import { actionButton, @@ -431,6 +432,7 @@ export function applySearchFilter( ): void { selectFilter(filterName, identifiedRisk, value); const isStandardKnownFilter = [ + appName, businessServiceLower, businessService, repositoryType,