mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Claude: Document when to delegate UI tests to "ui-tester"
This commit is contained in:
parent
a021783922
commit
9b0d19c60e
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@
|
|||
- Prefer waits over sleeps; click only visible/enabled elements; use role/label/text selectors (not XPath).
|
||||
- Screenshots: small and reproducible — JPEG, visible viewport, deterministic `.local/screenshots/<case>/<step>__<viewport>.jpg` names, no large inline screenshots.
|
||||
- If `npx` fetches an MCP server at runtime, add `--yes` or preinstall to avoid prompts.
|
||||
- Delegate to the `ui-tester` subagent for any flow with more than ~2 browser steps (login + navigate + assert, multi-step forms, regression sweeps). Brief it with the URL, credentials, exact steps, and the verdict format you want back; ask for a short report so raw snapshots and console dumps stay out of the parent context. Drive Playwright MCP inline only for one-shot checks (single navigate, single screenshot).
|
||||
|
||||
## Frontend Focus Management
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue