Skip to content

Scheduling infrastructure for absolutely everyone.

fix checklyt tests (#18501)

Hariom Balhara3b7cb542ed3b
diff --git a/__checks__/organization.spec.ts b/__checks__/organization.spec.ts
index aebf4bd3e41..8ffc1a2263d 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();