docs(qa): add technique-rich field and button audit prompt #225
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/MAPPS-221-qa-field-button-audit-prompt"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Prior QA passes were asked to be "thorough" but still left real UI defects (MAPPS-210..220, PMS-372..374) because the existing prompts describe WHAT to cover, not the concrete TECHNIQUES that expose the bugs. Agents kept eyeballing forms and submitting happy-path values.
Add dev-docs/qa-field-and-button-audit-prompt.md: a single reusable agent prompt that mandates, per field and per button on every screen, the exact methods that found the latest batch. Per field: programmatic enumeration of HTML constraint attributes (maxlength/min/max/step/pattern), the validity.stepMismatch/rangeOverflow/rangeUnderflow probe (catches money fields that reject cents and accept negatives without submitting), sequential fix-the-first-error-to-expose-the-next testing, format-field probes (email/url-scheme/phone-E.164/country-ISO/timezone-IANA/slug/RRULE/date-range), error-display quality checks (field highlighted and named vs generic banner), and post-create persistence verification via API (the technique that caught the negative payment, raw slug, and garbage RRULE). Adds an explicit BUTTON audit (disabled-but-styled-enabled, dead pointer-cursor controls, mis-routed/404 create routes) and the browser/WASM gotchas (fetch interceptor unreliable, navigation wipes globals, unsaved-changes guard needs double navigation, no top-level await).
#MAPPS-221