chore: [app-router-migration-10] Migrate getting started page (#12776)

* make no-meeting-found page use ssr

* remove-route-groups

* add LayoutHOC

* fix

* fix

* add a/b test flags for apps, workflows, getting-started, settings/teams

* chore: migrate getting-started-page

* fix: move fonts css variables to layout

* chore/implement-ab-test

* Discard changes to .env.example

---------

Co-authored-by: zomars <[email protected]>
This commit is contained in:
DmytroHryshynandzomars authored and GitHub committed 2024-01-05 10:21:11 -07:00
1 parent c44fb074ab
commit ccda3fd71e
3 files changed
+106 -3

No files matched your search

@@ -166,4 +166,31 @@ test.describe("apps/ A/B tests", () => {
await expect(locator).toHaveClass(/bg-emphasis/);
});
test("should point to the /future/getting-started", async ({ page, users, context }) => {
await context.addCookies([
{
name: "x-calcom-future-routes-override",
value: "1",
url: "http://localhost:3000",
},
]);
const user = await users.create({ completedOnboarding: false, name: null });
await user.apiLogin();
await page.goto("/getting-started/connected-calendar");
await page.waitForLoadState();
const dataNextJsRouter = await page.evaluate(() =>
window.document.documentElement.getAttribute("data-nextjs-router")
);
expect(dataNextJsRouter).toEqual("app");
const locator = page.getByText("Apple Calendar");
await expect(locator).toBeVisible();
});
});