test: open students tab before adding to batch
This commit is contained in:
@@ -159,6 +159,7 @@ describe("Batch Creation", () => {
|
|||||||
cy.get("button:visible").contains("Manage Batch").click();
|
cy.get("button:visible").contains("Manage Batch").click();
|
||||||
|
|
||||||
/* Add student to batch */
|
/* Add student to batch */
|
||||||
|
cy.get("button").contains("Students").click();
|
||||||
cy.get("button").contains("Add").click();
|
cy.get("button").contains("Add").click();
|
||||||
cy.get('div[role="dialog"]').first().find("button").eq(1).click();
|
cy.get('div[role="dialog"]').first().find("button").eq(1).click();
|
||||||
cy.get("input[id^='headlessui-combobox-input-v-']").type(randomEmail);
|
cy.get("input[id^='headlessui-combobox-input-v-']").type(randomEmail);
|
||||||
|
|||||||
Reference in New Issue
Block a user