Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr committed Oct 27, 2023
1 parent 323b268 commit 3d421f3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cypress/e2e/tests/administration/questionnaires/crud.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
checkSuccessAlert,
login,
closeModalWindow,
click,
} from "../../../../utils/utils";
import { alertTitle } from "../../../views/common.view";

Expand Down Expand Up @@ -45,7 +46,13 @@ describe(["@tier2"], "Questionnaire CRUD operations", () => {
);
});

it("Download YAML template", function () {
AssessmentQuestionnaire.open();
click('#download-yaml-template');
cy.readFile("cypress/downloads/questionnaire-template.yaml").should("contain", "Test questionnaire (SAMPLE)");
});
/*
after("Cleaning up", function () {
cleanupDownloads();
});
});*/
});

0 comments on commit 3d421f3

Please sign in to comment.