test: instructor for courses

This commit is contained in:
Jannat Patel
2024-06-25 19:56:50 +05:30
parent 96028c9f42
commit b18a3cb5e1
5 changed files with 30 additions and 11 deletions

View File

@@ -32,6 +32,8 @@ describe("Course Creation", () => {
.contains("Preview Video")
.type("https://www.youtube.com/embed/-LPmw2Znl2c");
cy.get("[id=tags]").type("Learning{enter}Frappe{enter}ERPNext{enter}");
cy.get(".search-input").click();
cy.get("[id^=headlessui-combobox-option-").first().click();
cy.get("label").contains("Published").click();
cy.get("label").contains("Published On").type("2021-01-01");
cy.button("Save").click();