Loading

Write Scout UI tests

Scout UI tests are Playwright tests that use Scout fixtures and page objects for readable, maintainable flows.

  • Authenticate with browserAuth in beforeEach
  • Navigate and interact via pageObjects
  • Use test.step for multi-step flows you want to read in reports

Example test (APM).

  • Sequential UI tests: <plugin-root>/test/scout/ui/tests
  • Parallel UI tests: <plugin-root>/test/scout/ui/parallel_tests

Spec files must end with .spec.ts.