diff --git a/apps/web/package.json b/apps/web/package.json index f1f5e2d2b6..08620c6704 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -35,6 +35,7 @@ "@calcom/stripe": "*", "@calcom/tsconfig": "*", "@calcom/ui": "*", + "@calcom/embed-core": "*", "@daily-co/daily-js": "^0.21.0", "@glidejs/glide": "^3.5.2", "@heroicons/react": "^1.0.6", diff --git a/apps/web/playwright/app-store.test.ts b/apps/web/playwright/app-store.test.ts index 22b1309e7e..326d093ce3 100644 --- a/apps/web/playwright/app-store.test.ts +++ b/apps/web/playwright/app-store.test.ts @@ -4,16 +4,14 @@ test.describe("App Store - Authed", () => { test.use({ storageState: "playwright/artifacts/proStorageState.json" }); test("Browse apple-calendar and try to install", async ({ page }) => { await page.goto("/apps"); - await page.click('[data-testid="app-store-category-calendar"]'); - if (!page.url().includes("apps/categories/calendar")) { - await page.waitForNavigation({ - url: (url) => { - console.log(url, url.pathname); - return url.pathname.includes("apps/categories/calendar"); - }, - }); - } - await page.click('[data-testid="app-store-app-card-apple-calendar"]'); + page.click('[data-testid="app-store-category-calendar"]'); + await page.waitForNavigation({ + url: (url) => { + console.log(url, url.pathname); + return url.pathname.includes("apps/categories/calendar"); + }, + }); + page.click('[data-testid="app-store-app-card-apple-calendar"]'); await page.waitForNavigation({ url: (url) => { return url.pathname.includes("apps/apple-calendar");