fix: redirect from batch/details to batch

This commit is contained in:
Jannat Patel
2026-02-18 15:36:55 +05:30
parent 24bfe69985
commit 8ab6776fa9
12 changed files with 17 additions and 624 deletions

View File

@@ -158,7 +158,7 @@ describe("Batch Creation", () => {
cy.get('div[role="dialog"]')
.first()
.find("div[label='Student']")
.find("button")
.find("div")
.first()
.click();
cy.get("input[placeholder='Search']").type(randomEmail);

View File

@@ -53,7 +53,7 @@ describe("Course Creation", () => {
});
});
cy.button("Create").last().click();
cy.button("Save").last().click();
// Edit Course Details
cy.wait(500);
@@ -65,12 +65,9 @@ describe("Course Creation", () => {
.contains("Category")
.parent()
.within(() => {
cy.get("input").click();
cy.get("button").click();
});
cy.get("[id^=headlessui-combobox-option-")
.should("be.visible")
.first()
.click();
cy.get("div").contains("Business").click();
cy.get("label").contains("Published").click();
cy.get("label").contains("Published On").type("2021-01-01");