From 3b7cb542ed3b12896bb210d8379560e60d2b4839 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Tue, 7 Jan 2025 18:28:39 +0530 Subject: [PATCH] fix checklyt tests (#18501) --- __checks__/organization.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/__checks__/organization.spec.ts b/__checks__/organization.spec.ts index aebf4bd3e4..8ffc1a2263 100644 --- a/__checks__/organization.spec.ts +++ b/__checks__/organization.spec.ts @@ -11,15 +11,15 @@ test.describe("Org", () => { await expectPageToBeRenderedWithEmbedSsr(page); }); - test("Org User(Peer) Page should be embeddable", async ({ page }) => { - const response = await page.goto("https://i.cal.com/peer/embed"); + test("Org User(Rick) Page should be embeddable", async ({ page }) => { + const response = await page.goto("https://i.cal.com/team-rick/embed"); expect(response?.status()).toBe(200); - await expect(page.locator("text=Peer Richelsen")).toBeVisible(); + await expect(page.locator("text=Rick in i.cal.com")).toBeVisible(); await expectPageToBeRenderedWithEmbedSsr(page); }); - test("Org User Event(peer/meet) Page should be embeddable", async ({ page }) => { - const response = await page.goto("https://i.cal.com/peer/meet/embed"); + test("Org User Event(/team-rick/test-event) Page should be embeddable", async ({ page }) => { + const response = await page.goto("https://i.cal.com/team-rick/test-event/embed"); expect(response?.status()).toBe(200); await expect(page.locator('[data-testid="decrementMonth"]')).toBeVisible(); await expect(page.locator('[data-testid="incrementMonth"]')).toBeVisible();