openspec-playwright 0.3.30 → 0.3.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.
- package/README.md +3 -3
- package/README.zh-CN.md +3 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -35,12 +35,11 @@ Claude Code — E2E workflow is driven by `/opsx:e2e` command using /browse (exp
|
|
|
35
35
|
```bash
|
|
36
36
|
openspec-pw init # Initialize integration (one-time setup)
|
|
37
37
|
openspec-pw update # Update CLI and commands to latest version
|
|
38
|
-
openspec-pw doctor # Check prerequisites
|
|
38
|
+
openspec-pw doctor # Check prerequisites
|
|
39
39
|
openspec-pw audit # Audit tests for orphaned specs and issues
|
|
40
40
|
openspec-pw migrate # Migrate old test files to new structure
|
|
41
41
|
openspec-pw explore # Explore routes in parallel with Playwright
|
|
42
|
-
openspec-pw
|
|
43
|
-
# Supports: multi-viewport, baseline diff, HTML report
|
|
42
|
+
openspec-pw run <name> # Execute E2E tests for a change
|
|
44
43
|
openspec-pw uninstall # Remove integration from the project
|
|
45
44
|
```
|
|
46
45
|
|
|
@@ -160,6 +159,7 @@ CLI (openspec-pw)
|
|
|
160
159
|
├── migrate → Migrates old test files to new structure
|
|
161
160
|
├── audit → Audits tests for orphaned specs and issues
|
|
162
161
|
├── doctor → Checks prerequisites
|
|
162
|
+
├── explore → Explores routes in parallel with Playwright
|
|
163
163
|
└── uninstall → Removes integration from the project
|
|
164
164
|
|
|
165
165
|
Claude Code (/opsx:e2e)
|
package/README.zh-CN.md
CHANGED
|
@@ -45,11 +45,11 @@ Claude Code — E2E 工作流由 `/opsx:e2e` 命令驱动,使用 /browse(探
|
|
|
45
45
|
```bash
|
|
46
46
|
openspec-pw init # 初始化集成(一次性设置)
|
|
47
47
|
openspec-pw update # 更新 CLI 和命令到最新版本
|
|
48
|
-
openspec-pw doctor #
|
|
48
|
+
openspec-pw doctor # 检查前置条件
|
|
49
49
|
openspec-pw audit # 检查测试文件是否有孤儿文件和配置问题
|
|
50
50
|
openspec-pw migrate # 迁移旧测试文件到新目录结构
|
|
51
51
|
openspec-pw explore # 并行探索路由
|
|
52
|
-
openspec-pw
|
|
52
|
+
openspec-pw run <name> # 执行指定 change 的 E2E 测试
|
|
53
53
|
openspec-pw uninstall # 移除项目中的集成
|
|
54
54
|
```
|
|
55
55
|
|
|
@@ -160,6 +160,7 @@ CLI (openspec-pw)
|
|
|
160
160
|
├── migrate → 迁移旧测试文件到新目录结构
|
|
161
161
|
├── audit → 检查测试文件是否有孤儿文件和配置问题
|
|
162
162
|
├── doctor → 检查前置条件
|
|
163
|
+
├── explore → 并行探索路由
|
|
163
164
|
└── uninstall → 移除项目中的集成
|
|
164
165
|
|
|
165
166
|
Claude Code (/opsx:e2e)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openspec-playwright",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.31",
|
|
4
4
|
"description": "OpenSpec + Playwright E2E verification setup tool for Claude Code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"test:run": "vitest run",
|
|
17
17
|
"test:smoke": "npm run build && vitest run tests/smoke.test.ts",
|
|
18
18
|
"prepublishOnly": "npm run build",
|
|
19
|
-
"release": "npm version patch && node scripts/bump-docs.js && npm run build && git add docs/index.html && git push && git push --tags"
|
|
19
|
+
"release": "npm version patch && node scripts/bump-docs.js && npm run build && git add docs/index.html && (git diff --cached --quiet || git commit -m 'docs: bump version badge to v${npm_package_version}') && git push && git push --tags"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"chalk": "^5.3.0",
|