Skip to content

Commit

Permalink
Changes after review
Browse files Browse the repository at this point in the history
Signed-off-by: Maayan Hadasi <[email protected]>
  • Loading branch information
mguetta1 committed Dec 5, 2024
1 parent 6cec35f commit 845ad4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/models/migration/task-manager/task-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class TaskManager {
}
}

public static cancelAnalysiskByStatus(
public static cancelAnalysisByStatus(
appName: string,
status: TaskStatus,
enabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Analysis> = [];
Expand Down Expand Up @@ -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);
});
});

0 comments on commit 845ad4e

Please sign in to comment.