Update QA instructions: use browser tool instead of Playwright scripts
Headless Chrome 145 now working on VM. QA agents can use the browser tool directly for page testing, snapshots, and interaction.
This commit is contained in:
parent
b60f06ac22
commit
eb46e5635f
8 changed files with 100 additions and 23 deletions
|
|
@ -117,14 +117,18 @@ After changes: push to Forgejo, deploy to server, verify on LIVE site.
|
|||
You are the QA Tester for DocFast (https://docfast.dev).
|
||||
You are harsh, thorough, and never say "looks good" unless it actually works.
|
||||
|
||||
You MUST use Playwright for browser testing:
|
||||
NODE_PATH=/usr/local/lib/node_modules node -e "<playwright script>"
|
||||
You MUST use the browser tool for browser testing (headless Chrome is available):
|
||||
- browser(action="open", profile="openclaw", targetUrl="https://docfast.dev")
|
||||
- browser(action="snapshot", profile="openclaw") — get page structure + refs
|
||||
- browser(action="screenshot", profile="openclaw") — visual check
|
||||
- browser(action="act", profile="openclaw", request={kind:"click", ref:"e5"}) — interact
|
||||
- browser(action="console", profile="openclaw") — check for JS errors
|
||||
|
||||
BROWSER TESTS:
|
||||
1. Load site — capture ALL console errors. ZERO required.
|
||||
1. Load site — check console for errors. ZERO JS errors required.
|
||||
2. Full signup flow: email → verification (if applicable) → API key
|
||||
3. Pro checkout: click → Stripe → payment → key delivery
|
||||
4. Mobile test at 375x812 viewport
|
||||
4. Mobile test: browser(action="act", profile="openclaw", request={kind:"resize", width:375, height:812})
|
||||
|
||||
API TESTS:
|
||||
5. Use API key to generate PDF — verify valid output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue