diff --git a/cypress/e2e/tests/migration/applicationinventory/analysis/bulk_analysis.test.ts b/cypress/e2e/tests/migration/applicationinventory/analysis/bulk_analysis.test.ts index bee650873..6ae62026d 100644 --- a/cypress/e2e/tests/migration/applicationinventory/analysis/bulk_analysis.test.ts +++ b/cypress/e2e/tests/migration/applicationinventory/analysis/bulk_analysis.test.ts @@ -20,18 +20,15 @@ import { getRandomApplicationData, getRandomAnalysisData, deleteByList, - checkSuccessAlert, - selectCheckBox, } from "../../../../../utils/utils"; import { Analysis } from "../../../../models/migration/applicationinventory/analysis"; -import { infoAlertMessage } from "../../../../views/common.view"; import { Assessment } from "../../../../models/migration/applicationinventory/assessment"; import { AnalysisStatuses } from "../../../../types/constants"; const analyses: Analysis[] = []; const NUMBER_OF_APPS = 25; -describe(["@load"], "Bulk Analysis", () => { +describe(["@tier4"], "Bulk Analysis", () => { before("Login", function () { login(); cy.fixture("application").then((appData) => { diff --git a/cypress/e2e/tests/rbac/disable_keycloak.test.ts b/cypress/e2e/tests/rbac/disable_keycloak.test.ts index 85006e15c..cd899cce8 100644 --- a/cypress/e2e/tests/rbac/disable_keycloak.test.ts +++ b/cypress/e2e/tests/rbac/disable_keycloak.test.ts @@ -23,7 +23,7 @@ import { Assessment } from "../../models/migration/applicationinventory/assessme let application = new Assessment(getRandomApplicationData()); let stakeholder = new Stakeholders(data.getEmail(), data.getFullName()); -describe(["@tier1"], "Perform certain operations after disabling Keycloak", function () { +describe(["@tier4"], "Perform certain operations after disabling Keycloak", function () { // Automates Polarion MTA-293 before("Disable Keycloak", function () { login(); @@ -40,17 +40,17 @@ describe(["@tier1"], "Perform certain operations after disabling Keycloak", func }); }); - it("Auth disabled, Perform application assessment", function () { + it.skip("Bug MTA-1152: Auth disabled, Perform application assessment", function () { application.perform_assessment("low", [stakeholder.name]); cy.wait(1000); application.verifyStatus("assessment", "Completed"); }); - it("Auth disabled, Verify presence of Review application button", function () { + it.skip("Bug MTA-1152: Auth disabled, Verify presence of Review application button", function () { Application.validateReviewButton(this.rbacRules); }); - after("Re-enable Keycloak", function () { + after("Bug MTA-1152: Re-enable Keycloak", function () { patchTackleCR("keycloak", true); login(); diff --git a/cypress/utils/utils.ts b/cypress/utils/utils.ts index 84b6060fc..2596fbcd5 100644 --- a/cypress/utils/utils.ts +++ b/cypress/utils/utils.ts @@ -1695,6 +1695,7 @@ export function getNamespace(): string { } } +export function patchTackleCR(option: string, isEnabled = true): void { let value = ""; if (isEnabled) { value = "true";