From 5e47186668437182329641cf93937fe27dd247b6 Mon Sep 17 00:00:00 2001 From: Alejandro Brugarolas <117646518+abrugaro@users.noreply.github.com> Date: Mon, 13 Nov 2023 17:12:07 +0100 Subject: [PATCH] remove csv download workaround (#802) Signed-off-by: Alejandro Brugarolas --- .../applicationinventory/manageimports/csv.test.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/cypress/e2e/tests/migration/applicationinventory/manageimports/csv.test.ts b/cypress/e2e/tests/migration/applicationinventory/manageimports/csv.test.ts index 05c313731..c1f506a4f 100644 --- a/cypress/e2e/tests/migration/applicationinventory/manageimports/csv.test.ts +++ b/cypress/e2e/tests/migration/applicationinventory/manageimports/csv.test.ts @@ -27,16 +27,9 @@ describe(["@tier2"], "Manage imports tests", function () { openManageImportsPage(); }); - it("Bug MTA-1592: Download CSV template", function () { + it("Download CSV template", function () { cy.get(manageImportsActionsButton).eq(0).click({ force: true }); - cy.get(kebabMenuItem) - .contains("Download CSV template") - .parent() - .parent() - .then(($a) => { - $a.attr("download", ""); // TODO: remove this workaround once the bug is fixed - }) - .click(); + cy.get(kebabMenuItem).contains("Download CSV template").click(); cy.wait(2000); cy.readFile("cypress/downloads/template_application_import.csv").should( "contain",