12 lines
378 B
TypeScript
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 pro@example.com", 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]");
|
|
});
|