Files
eleith 0ebbd89666
ci/woodpecker/pr/cli Pipeline was successful
ci/woodpecker/pr/config Pipeline was successful
ci/woodpecker/pr/db Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/pr/worker Pipeline was successful
ci/woodpecker/push/cli Pipeline was successful
ci/woodpecker/push/config Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/worker Pipeline was successful
docs: add GoTo reference pages and screenshots
2026-11-24 09:56:29 -08:00

16 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Testing
From the repository root, use the Node and pnpm versions pinned in [mise.toml](../mise.toml):
```sh
pnpm install --frozen-lockfile
pnpm --filter @goto/web exec playwright install chromium
pnpm verify
```
`pnpm verify` checks editor schema drift, builds the apps, checks types and lint, runs workspace tests with coverage, exercises the production web build in Chromium, and runs the worker smoke test. Playwright needs Chromium and its system dependencies.
For a smaller run, use `pnpm --filter @goto/config test`. For web tests on a fresh checkout, run `pnpm build:packages` first, then `pnpm --filter @goto/web test`. After changing the configuration schema, run `pnpm schema:generate` and include the resulting editor schema in the change.
Prefer focused tests of GoTo’s behavior. Use browser tests for boundaries that need the production server or a real browser, such as sign-in and host routing. Use the [development setup](development.md) to check hot reload in a working app; the browser suite tests the production build instead.