From 9f0c9307d584e8e845308c29e067bb347b1010ec Mon Sep 17 00:00:00 2001 From: Maayan Hadasi Date: Mon, 13 Jan 2025 22:47:14 +0200 Subject: [PATCH] Task manager: Create a binary app - no discovery task is trigerred Signed-off-by: Maayan Hadasi --- .../migration/task-manager/task_manager.test.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cypress/e2e/tests/migration/task-manager/task_manager.test.ts b/cypress/e2e/tests/migration/task-manager/task_manager.test.ts index e09e86465..4955ff620 100644 --- a/cypress/e2e/tests/migration/task-manager/task_manager.test.ts +++ b/cypress/e2e/tests/migration/task-manager/task_manager.test.ts @@ -96,6 +96,20 @@ describe(["@tier1"], "Task Manager", () => { TaskManager.verifyTaskStatus(app.name, TaskKind.techDiscovery, TaskStatus.succeeded); }); + it("Create a binary app - no discovery task is triggered", function () { + Application.open(); + const app = new Application( + getRandomApplicationData("binary", { + sourceData: this.appData["tackle-testapp-binary"], + }) + ); + app.create(); + cy.wait("@getApplication", { timeout: 5 * SEC }); + applicationsList.push(app); + TaskManager.open(); + validateTextPresence(TaskManagerColumns.application, app.name, false); + }); + it("Delete an application - related tasks are deleted", function () { // Remove the last element from applicationsList const app = applicationsList.pop();