Quality engineeringTest surfaces
Web testing
Run Playwright tests against an environment-selected web origin.
Web testing — contract and behavior
- BASE_URL selects the target and keeps specs portable across local, preview, and production-like environments.
- The web package owns browser configuration, fixtures, and trace/screenshot policy.
- Smoke examples assert observable page behavior rather than internal implementation details.
- Credentials and destructive test data belong to isolated test accounts, not shared examples.
Commands and examples
BASE_URL=https://example.com npm run test:web