New match page (#3032)
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run

This commit is contained in:
Kalle
2026-05-04 18:15:10 +03:00
committed by GitHub
parent 8b78522b74
commit 2b5b1b1948
345 changed files with 16409 additions and 8189 deletions

View File

@@ -574,7 +574,7 @@ Run `pnpm run i18n:sync` after adding English translations to initialize other l
Use `createFormHelpers` for type-safe form interactions:
```ts
import { createFormHelpers } from "~/utils/playwright-form";
import { createFormHelpers } from "./helpers/playwright-form";
import { myFormSchema } from "~/features/my/my-schemas";
test("fills and submits form", async ({ page }) => {
@@ -628,7 +628,7 @@ import {
selectStage,
selectWeapon,
selectUser,
} from "~/utils/playwright";
} from "./helpers/playwright";
```
## Complete Example
@@ -717,9 +717,9 @@ export const action = async ({ request }: ActionFunctionArgs) => {
### E2E Test (`feature.spec.ts`)
```ts
import { createFormHelpers } from "~/utils/playwright-form";
import { createFormHelpers } from "./helpers/playwright-form";
import { createItemSchema } from "~/features/item/feature-schemas";
import { test, navigate, impersonate, seed } from "~/utils/playwright";
import { test, navigate, impersonate, seed } from "./helpers/playwright";
test("creates new item", async ({ page }) => {
await seed(page);