Skip to content

Commit

Permalink
Task manager: Create a binary app - no discovery task is trigerred
Browse files Browse the repository at this point in the history
Signed-off-by: Maayan Hadasi <[email protected]>
  • Loading branch information
mguetta1 committed Jan 14, 2025
1 parent 8d40755 commit 45db0c8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cypress/e2e/tests/migration/task-manager/task_manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 trigerred", 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();
Expand Down

0 comments on commit 45db0c8

Please sign in to comment.