Scheduling infrastructure for absolutely everyone.
fix: e2e flake (#25578)
Anik Dhabal Babu2a7439b58de0
diff --git a/apps/web/playwright/out-of-office.e2e.ts b/apps/web/playwright/out-of-office.e2e.tsindex ce39645d1e5..7093b7b64ee 100644--- a/apps/web/playwright/out-of-office.e2e.ts+++ b/apps/web/playwright/out-of-office.e2e.ts@@ -757,5 +757,12 @@ async function goToOOOPage(page: Page, type: "individual" | "team" = "individual}async function openOOODialog(page: Page) {+ const reasonListRespPromise = page.waitForResponse(+ (response) => response.url().includes("outOfOfficeReasonList?batch=1") && response.status() === 200+ );+ const hasTeamPlanRespPromise = page.waitForResponse(+ (response) => response.url().includes("hasTeamPlan?batch=1") && response.status() === 200+ );await page.getByTestId("add_entry_ooo").click();+ await Promise.all([reasonListRespPromise, hasTeamPlanRespPromise]);}