diff --git a/cypress/e2e/models/migration/task-manager/task-manager.ts b/cypress/e2e/models/migration/task-manager/task-manager.ts index da05cc364..abdc8cad5 100644 --- a/cypress/e2e/models/migration/task-manager/task-manager.ts +++ b/cypress/e2e/models/migration/task-manager/task-manager.ts @@ -113,7 +113,7 @@ export class TaskManager { } } - public static cancelAnalysiskByStatus( + public static cancelAnalysisByStatus( appName: string, status: TaskStatus, enabled = true diff --git a/cypress/e2e/tests/migration/task-manager/cancel_task_negative.test.ts b/cypress/e2e/tests/migration/task-manager/negative.test.ts similarity index 91% rename from cypress/e2e/tests/migration/task-manager/cancel_task_negative.test.ts rename to cypress/e2e/tests/migration/task-manager/negative.test.ts index 72c91e2bf..1f6fada31 100644 --- a/cypress/e2e/tests/migration/task-manager/cancel_task_negative.test.ts +++ b/cypress/e2e/tests/migration/task-manager/negative.test.ts @@ -31,7 +31,7 @@ import { Application } from "../../../models/migration/applicationinventory/appl import { TaskManager } from "../../../models/migration/task-manager/task-manager"; import { TaskKind, TaskStatus } from "../../../types/constants"; -describe(["@tier2"], "Negative: cancel task created by another user", function () { +describe(["@tier3"], "Negative: cancel task created by another user", function () { let userMigrator = new UserMigrator(getRandomUserData()); let userArchitect = new UserArchitect(getRandomUserData()); let applicationsList: Array = []; @@ -66,10 +66,10 @@ describe(["@tier2"], "Negative: cancel task created by another user", function ( application.analyze(); userMigrator.login(); - TaskManager.cancelAnalysiskByStatus(application.name, TaskStatus.running, false); + TaskManager.cancelAnalysisByStatus(application.name, TaskStatus.running, false); logout(); userArchitect.login(); - TaskManager.cancelAnalysiskByStatus(application.name, TaskStatus.running, false); + TaskManager.cancelAnalysisByStatus(application.name, TaskStatus.running, false); }); });