docs: how to test the application (browser E2E + out-of-band) #376
Reference in New Issue
Block a user
Delete Branch "docs/how-to-test"
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?
Summary
Adds
docs/how-to-test.md— a guide for testing the app end-to-end against a running stand (browser E2E + out-of-band verification), and links it fromAGENTS.mdnext todev-stand.md.Written from real false-positives that wasted hours during PR testing. Core points:
[aria-label='Page title'](non-collab) and[aria-label='Page content'](the collab body).document.querySelector('.ProseMirror')returns the title, so typing there never changes body content andmod+Sversions nothing — tests must target the body editor and wait ~10s for the hocuspocus store debounce.Changes
docs/how-to-test.md— new guide.AGENTS.md— link to it in the "Bringing up a full local stand" block.docs/dev-stand.md— gotcha #8 (two editors / body vs title / store debounce) pointing to the new guide.Docs-only; no code changes.
🤖 Generated with Claude Code
Adds a testing guide covering how to verify features against a running stand: drive the behaviour under test through the browser (not the API), verify out-of-band in the DB/git, and the non-obvious traps. Notably the page has two ProseMirror editors — [aria-label='Page title'] (non-collab) and [aria-label='Page content'] (the collab body); querySelector('.ProseMirror') returns the title, so tests must target the body editor and wait ~10s for the hocuspocus store debounce. Links the new doc from AGENTS.md next to dev-stand.md and adds a matching gotcha #8 to dev-stand.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>