Files
cal.diy/apps/web/playwright/login.test.ts
T
2022-02-10 14:22:45 -07:00

12 lines
378 B
TypeScript

import { test } from "@playwright/test";
// Using logged in state from globalSteup
test.use({ storageState: "playwright/artifacts/proStorageState.json" });
test("login with [email protected]", async ({ page }) => {
// Try to go homepage
await page.goto("/");
// It should redirect you to the event-types page
await page.waitForSelector("[data-testid=event-types]");
});