* Adds test todos * Can't seem to change locales * WIP playwright test refactoring * jest-playwright cleanup * Test fixes * Test fixes * More test fixes * WIP: Testing fixes * More test fixes * Removes unused files * Installs missing browsers for e2e * ts-node fixes * ts-check fixes * Type fixes * Fixes e2e * FFS * Renamex webhook snapshot * Fixes webhook cross-platform * Renamed webhook snapshot * Apply suggestions from code review Co-authored-by: Max Schmitt <max@schmitt.mx> * Removes kont dependency * Cleanup playwright options * Next.js cache optimizations on CI * Uses cache on e2e as well * Fixme is introducing side-effects Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Bailey Pumfleet <pumfleet@hey.com> Co-authored-by: Max Schmitt <max@schmitt.mx>
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]");
|
|
});
|