cal.pub0.org/apps/web/playwright/onboarding.test.ts

15 lines
411 B
TypeScript
Raw Normal View History

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";
},
});
2021-11-08 14:10:02 +00:00
});
});