openspec-playwright 0.1.50 → 0.1.51

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.
@@ -78,11 +78,19 @@ This validates: app server reachable, auth fixtures initialized, Playwright work
78
78
 
79
79
  **Before writing test plan, explore the app to collect real DOM data.** This is the most critical step — it eliminates blind selector guessing.
80
80
 
81
- **Prerequisites**: seed test pass. If auth is required, ensure `auth.setup.ts` has been run (Step 7).
81
+ **Prerequisites**: seed test pass. If auth is required, ensure `auth.setup.ts` has been run (Step 7). BASE_URL must be verified reachable (see 4.1).
82
82
 
83
- #### 4.1. Read app-knowledge.md + Extract routes from specs
83
+ #### 4.1. Verify BASE_URL + Read app-knowledge.md + Extract routes from specs
84
84
 
85
- **First**, read `tests/playwright/app-knowledge.md` to understand:
85
+ **First, verify BASE_URL is reachable**:
86
+ ```javascript
87
+ await browser_navigate(`${BASE_URL}/`)
88
+ // Confirm page loaded → proceed
89
+ // If error → check BASE_URL in seed.spec.ts or vite.config.ts
90
+ ```
91
+ A correct BASE_URL prevents wasted exploration time on unreachable routes.
92
+
93
+ **Then**, read `tests/playwright/app-knowledge.md` to understand:
86
94
  - **Known risks**: SPA behavior, dynamic content patterns, auth method
87
95
  - **Project conventions**: preferred selector strategy, credential format, BASE_URL
88
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openspec-playwright",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "OpenSpec + Playwright E2E verification setup tool for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {
package/release-notes.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ## What's Changed
2
2
 
3
- - fix(SKILL): clarify auth flow when credentials not yet available
3
+ - fix(SKILL): add BASE_URL smoke check before exploration (Step 4.1)
4
4
 
5
- **Full Changelog**: https://github.com/wxhou/openspec-playwright/releases/tag/v0.1.50
5
+ **Full Changelog**: https://github.com/wxhou/openspec-playwright/releases/tag/v0.1.51