From 2335aba84389648ac169c58fa01e928d1d6a6559 Mon Sep 17 00:00:00 2001 From: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> Date: Thu, 23 Jan 2025 18:15:09 +0530 Subject: [PATCH] fix: flaky test organization.spec (#18828) --- __checks__/organization.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/__checks__/organization.spec.ts b/__checks__/organization.spec.ts index 8ffc1a2263..62b85b5a85 100644 --- a/__checks__/organization.spec.ts +++ b/__checks__/organization.spec.ts @@ -75,7 +75,8 @@ test.describe("Org", () => { test.describe("Browse the Engineering Team", async () => { test("By User Navigation", async ({ page }) => { - await page.goto("https://i.cal.com"); + const response = await page.goto("https://i.cal.com"); + expect(response?.status()).toBe(200); await page.click('text="Engineering"'); await expect(page.locator("text=Cal.com Engineering")).toBeVisible(); });