Skip to content

Scheduling infrastructure for absolutely everyone.

fix: flaky test organization.spec (#18828)

Anik Dhabal Babu2335aba84389
diff --git a/__checks__/organization.spec.ts b/__checks__/organization.spec.ts
index 8ffc1a2263d..62b85b5a85d 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();
});