From 1932338660f58268f5e2cfb1079732ca09a89b47 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 14 Nov 2025 18:06:23 +0530 Subject: [PATCH] test: open students tab before adding to batch --- cypress/e2e/batch_creation.cy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/e2e/batch_creation.cy.js b/cypress/e2e/batch_creation.cy.js index b300e045..c93bed2b 100644 --- a/cypress/e2e/batch_creation.cy.js +++ b/cypress/e2e/batch_creation.cy.js @@ -159,6 +159,7 @@ describe("Batch Creation", () => { cy.get("button:visible").contains("Manage Batch").click(); /* Add student to batch */ + cy.get("button").contains("Students").click(); cy.get("button").contains("Add").click(); cy.get('div[role="dialog"]').first().find("button").eq(1).click(); cy.get("input[id^='headlessui-combobox-input-v-']").type(randomEmail);