openspec-playwright 0.1.30 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,7 @@ compatibility: Requires openspec CLI, Playwright (with browsers installed), and
|
|
|
7
7
|
**Architecture**: Uses CLI + SKILLs (not `init-agents`). This follows Playwright's recommended approach for coding agents — CLI is more token-efficient than loading MCP tool schemas into context. MCP is used only for Healer (UI inspection on failure).
|
|
8
8
|
metadata:
|
|
9
9
|
author: openspec-playwright
|
|
10
|
-
version: "2.
|
|
10
|
+
version: "2.6"
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
## Input
|
|
@@ -207,10 +207,18 @@ If tests fail → analyze failures, use **Playwright MCP tools** to inspect UI s
|
|
|
207
207
|
3. **Attempt heal** (up to 3 times):
|
|
208
208
|
- Apply fix using `browser_snapshot` (prefer `getByRole`, `getByLabel`, `getByText`)
|
|
209
209
|
- Re-run: `openspec-pw run <name> --project=<role>`
|
|
210
|
-
4. **After 3 failed attempts
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
210
|
+
4. **After 3 failed attempts**, collect evidence:
|
|
211
|
+
|
|
212
|
+
**Evidence checklist** (in order, stop at first match):
|
|
213
|
+
| Check | Signal | Decision |
|
|
214
|
+
|-------|--------|----------|
|
|
215
|
+
| `browser_console_messages` | ERROR-level messages present | App bug → `test.skip()` + report "console error" |
|
|
216
|
+
| `browser_snapshot` | Target element missing from DOM | App bug → `test.skip()` + report "element missing" |
|
|
217
|
+
| `browser_snapshot` | Element exists, no errors | Test bug → report recommendation |
|
|
218
|
+
|
|
219
|
+
- **App bug**: `test.skip('app bug — reason: <signal>')` + detailed report entry
|
|
220
|
+
- **Test bug**: report with "likely selector change, verify manually at file:line"
|
|
221
|
+
- Do NOT retry after evidence checklist — evidence is conclusive
|
|
214
222
|
|
|
215
223
|
### 9. Report results
|
|
216
224
|
|
|
Binary file
|
package/package.json
CHANGED
package/release-notes.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
## What's Changed
|
|
2
2
|
|
|
3
|
-
- feat(skill): add
|
|
3
|
+
- feat(skill): add evidence checklist for Healer skip decision (v2.6)
|
|
4
4
|
|
|
5
|
-
**Full Changelog**: https://github.com/wxhou/openspec-playwright/releases/tag/v0.1.
|
|
5
|
+
**Full Changelog**: https://github.com/wxhou/openspec-playwright/releases/tag/v0.1.31
|