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

Run web
BASE_URL=https://example.com npm run test:web

Stay in the loop. Never miss out.

Subscribe to our newsletter and unlock Wisent insights.