Web QA Exploration
Autonomous exploratory testing using Playwright to analyze web application flows, identify issues, and generate actionable reports.
Core Principles
- Thoroughness over speed - Analyze each page state fully
- Break things intentionally - Try edge cases, unexpected inputs, unusual navigation
- Document everything - When in doubt, capture it
- Stay focused - Follow defined waypoints; don't wander
- Fail gracefully - If stuck, document and move on
Working Directory
/tmp/webqa/{session-id}/
session.md # Session context and scope
report.md # Human-readable findings
report.json # Machine-readable for automation
screenshots/ # Visual evidence
metadata.json # Session info, status
All ephemeral. Output feeds into /plan-chat or /plan-breakdown.
Analysis Checklist
At each waypoint, systematically check:
Visual & Layout
- Content fully visible (no overflow, cutoff)
- Proper spacing and alignment
- Images/icons load correctly
- No layout shifts after load
Navigation & State
- Back button - Does it preserve state?
- Refresh - Does page recover?
- Deep link - Can URL be shared/bookmarked?
Forms & Inputs
- Empty submission - Validation fires?
- Boundary values - Max length, min/max numbers
- Special characters -
<script>, quotes, unicode
- Whitespace - Leading/trailing, only spaces
- Tab order - Keyboard navigation logical
- Error messages - Clear, positioned correctly
Interactions
- Double-click - Rapid clicking on submit
- Keyboard shortcuts - Enter, Escape behavior
- Focus states - Visible indicators
- Disabled states - Buttons during submission
Accessibility (basic)
- Heading structure (h1-h6 hierarchy)
- Form labels present
- Color contrast (visual check)
- Alt text on images
Error Handling
- Network failure behavior
- Timeout handling
- Invalid URL parameters
Issue Documentation
Each issue needs:
- id: ISSUE-001
- severity: critical | high | medium | low | note
- category: bug | ux | accessibility | edge-case | visual
- page: /path/to/page
- title: Short description
- description: Detailed explanation
- steps_to_reproduce: Ordered list
- expected: What should happen
- actual: What actually happens
- screenshot: Path to evidence
- suggested_test: Playwright test code
Severity Guidelines
- Critical: Crashes, data loss, security issue, flow blocker
- High: Feature broken, significant UX problem
- Medium: Edge case failures, minor UX issues
- Low: Polish issues, minor visual glitches
- Note: Observations, suggestions, not bugs
Scope Control
- Only explore pages/states within defined scope
- Time-box analysis (2-5 minutes per waypoint)
- Don't attempt to fix issues during exploration
When Stuck
- Document with maximum detail
- Take screenshot
- Attempt one workaround (refresh, re-navigate)
- If still blocked, mark waypoint as "blocked" and skip
- Continue from next accessible waypoint
Output
report.md
Summary table with severity counts, then issues ordered by severity. Each issue includes description, steps, expected/actual, screenshot, and suggested Playwright test.
metadata.json
{
"session_id": "{session-id}",
"scope": "{DESCRIPTION}",
"status": "complete",
"waypoints_total": 5,
"waypoints_completed": 5,
"issues": { "critical": 0, "high": 1, "medium": 3, "low": 2, "note": 2 }
}
Integration
Feeds into:
/plan-chat - When issues need architectural discussion
/plan-breakdown - When ready to create fix tasks directly
Quality Checklist
1---2name: web-qa-exploration3description: Perform exploratory QA testing on web applications using Playwright. Navigate flows, analyze pages, find issues, and generate actionable reports with evidence.4---5
6# Web QA Exploration
7
8Autonomous exploratory testing using Playwright to analyze web application flows, identify issues, and generate actionable reports.
9
10## Core Principles
11
121. **Thoroughness over speed** - Analyze each page state fully
132. **Break things intentionally** - Try edge cases, unexpected inputs, unusual navigation
143. **Document everything** - When in doubt, capture it
154. **Stay focused** - Follow defined waypoints; don't wander
165. **Fail gracefully** - If stuck, document and move on
17
18## Working Directory
19
20```
21/tmp/webqa/{session-id}/
22 session.md # Session context and scope
23 report.md # Human-readable findings
24 report.json # Machine-readable for automation
25 screenshots/ # Visual evidence
26 metadata.json # Session info, status
27```
28
29All ephemeral. Output feeds into `/plan-chat` or `/plan-breakdown`.
30
31## Analysis Checklist
32
33At each waypoint, systematically check:
34
35### Visual & Layout
36- Content fully visible (no overflow, cutoff)
37- Proper spacing and alignment
38- Images/icons load correctly
39- No layout shifts after load
40
41### Navigation & State
42- **Back button** - Does it preserve state?
43- **Refresh** - Does page recover?
44- **Deep link** - Can URL be shared/bookmarked?
45
46### Forms & Inputs
47- **Empty submission** - Validation fires?
48- **Boundary values** - Max length, min/max numbers
49- **Special characters** - `<script>`, quotes, unicode
50- **Whitespace** - Leading/trailing, only spaces
51- **Tab order** - Keyboard navigation logical
52- **Error messages** - Clear, positioned correctly
53
54### Interactions
55- **Double-click** - Rapid clicking on submit
56- **Keyboard shortcuts** - Enter, Escape behavior
57- **Focus states** - Visible indicators
58- **Disabled states** - Buttons during submission
59
60### Accessibility (basic)
61- Heading structure (h1-h6 hierarchy)
62- Form labels present
63- Color contrast (visual check)
64- Alt text on images
65
66### Error Handling
67- Network failure behavior
68- Timeout handling
69- Invalid URL parameters
70
71## Issue Documentation
72
73Each issue needs:
74- **id**: ISSUE-001
75- **severity**: critical | high | medium | low | note
76- **category**: bug | ux | accessibility | edge-case | visual
77- **page**: /path/to/page
78- **title**: Short description
79- **description**: Detailed explanation
80- **steps_to_reproduce**: Ordered list
81- **expected**: What should happen
82- **actual**: What actually happens
83- **screenshot**: Path to evidence
84- **suggested_test**: Playwright test code
85
86## Severity Guidelines
87
88- **Critical**: Crashes, data loss, security issue, flow blocker
89- **High**: Feature broken, significant UX problem
90- **Medium**: Edge case failures, minor UX issues
91- **Low**: Polish issues, minor visual glitches
92- **Note**: Observations, suggestions, not bugs
93
94## Scope Control
95
96- Only explore pages/states within defined scope
97- Time-box analysis (2-5 minutes per waypoint)
98- Don't attempt to fix issues during exploration
99
100### When Stuck
1011. Document with maximum detail
1022. Take screenshot
1033. Attempt one workaround (refresh, re-navigate)
1044. If still blocked, mark waypoint as "blocked" and skip
1055. Continue from next accessible waypoint
106
107## Output
108
109### report.md
110
111Summary table with severity counts, then issues ordered by severity. Each issue includes description, steps, expected/actual, screenshot, and suggested Playwright test.
112
113### metadata.json
114
115```json
116{
117 "session_id": "{session-id}",
118 "scope": "{DESCRIPTION}",
119 "status": "complete",
120 "waypoints_total": 5,
121 "waypoints_completed": 5,
122 "issues": { "critical": 0, "high": 1, "medium": 3, "low": 2, "note": 2 }
123}
124```
125
126## Integration
127
128**Feeds into:**
129- `/plan-chat` - When issues need architectural discussion
130- `/plan-breakdown` - When ready to create fix tasks directly
131
132## Quality Checklist
133
134- [ ] All waypoints visited or documented as blocked
135- [ ] Each issue has severity, category, description
136- [ ] Screenshots captured for visual issues
137- [ ] Steps to reproduce provided
138- [ ] Suggested Playwright tests included
139- [ ] Summary statistics accurate