| name | webapp-testing |
| description | Test local web applications through focused browser automation and runtime inspection. Use when validating web UI flows, reproducing browser bugs or checking a local development server. |
| compatibility | opencode; prefer project test tooling; Playwright is an optional host dependency |
Web App Testing
Use the project's existing test framework and scripts first. Do not install browsers or packages without approval.
Workflow
- Inspect project scripts and existing browser tests.
- Start the documented local server and wait for readiness.
- Reproduce the requested flow with the narrowest useful test.
- Capture actionable browser console errors, failed requests and assertion failures.
- Stop processes started for the test and report the exact verification performed.
Read references/playwright-fallback.md only when the project has no suitable browser-test harness.