calcom/apps/web/playwright/onboarding.test.ts
alannnc fdc99b346a
fix/handle-premium-on-google-signup (#2160)
* checking if username is premium on google sign up

* Removed test validating query input value, but it's no longer required

* undo code that was moved to a function for reuse

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
2022-03-16 19:33:20 +00:00

14 lines
411 B
TypeScript

import { expect, test } from "@playwright/test";
test.describe("Onboarding", () => {
test.use({ storageState: "playwright/artifacts/onboardingStorageState.json" });
test("redirects to /getting-started after login", async ({ page }) => {
await page.goto("/event-types");
await page.waitForNavigation({
url(url) {
return url.pathname === "/getting-started";
},
});
});
});