Skip to content

Commit

Permalink
remove csv download workaround (#802)
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Brugarolas <[email protected]>
  • Loading branch information
abrugaro authored Nov 13, 2023
1 parent 8c72a50 commit 5e47186
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5e47186

Please sign in to comment.