@hupan56/wlkj 3.1.22 → 3.1.23
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/package.json
CHANGED
|
@@ -46,9 +46,9 @@ trigger: "user invokes /wl-* command explicitly"
|
|
|
46
46
|
**③ 用例 JSON 必须用 `--cases-file` 传文件,禁止内联 `--cases`。**
|
|
47
47
|
```bash
|
|
48
48
|
# ✅ 对: 写文件再传路径(不截断)
|
|
49
|
-
$
|
|
49
|
+
(python "$R 2>/dev/null || python3 "$R)/.qoder/scripts/orchestration/wlkj.py" test quick --cases-file <文件路径> --env test --platform web
|
|
50
50
|
# ❌ 错: 内联(长JSON截断, 多条用例必丢)
|
|
51
|
-
$
|
|
51
|
+
(python "$R 2>/dev/null || python3 "$R)/.qoder/scripts/orchestration/wlkj.py" test quick --cases '[{"case_id"...(超长)...}]'
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
**④ 无锚点时必须先 snapshot 拿真实 anchor 再填,禁止预猜 CSS selector。**
|
|
@@ -67,9 +67,9 @@ $PY "$R/.qoder/scripts/orchestration/wlkj.py" test quick --cases '[{"case_id"...
|
|
|
67
67
|
**⑥ recall 的 `--url` 必须用相对路径(无前导斜杠),避开 Git-bash/MSYS 路径转换坑。**
|
|
68
68
|
```bash
|
|
69
69
|
# ✅ 对: 相对路径 (MSYS 不转换)
|
|
70
|
-
$
|
|
70
|
+
(python "$R 2>/dev/null || python3 "$R)/.qoder/scripts/orchestration/wlkj.py" test recall --url auth/login
|
|
71
71
|
# ❌ 错: 前导斜杠会被 Windows Git-bash 转成 /D:/.../Git/auth/login
|
|
72
|
-
$
|
|
72
|
+
(python "$R 2>/dev/null || python3 "$R)/.qoder/scripts/orchestration/wlkj.py" test recall --url /auth/login
|
|
73
73
|
```
|
|
74
74
|
(脚本已加 normalize 兜底能修这个,但别依赖兜底——直接写相对路径最干净。)
|
|
75
75
|
|
|
@@ -521,4 +521,4 @@ QoderWork 有**两种**浏览器控制方式,遇到问题要在两者间切换
|
|
|
521
521
|
- quick/browser:用例表 + 执行结果(pass/fail),失败列原因 + 建议,全过建议继续
|
|
522
522
|
- 别在 quick 里啰嗦搜代码的过程——用户要的是"测了没、通没通"
|
|
523
523
|
- 验证码/登录:默认 AI 自识别(截图→算→填),连续 2 次失败或短信/扫码类才交人
|
|
524
|
-
- 工具冲突:先 Playwright MCP,挂了再试 QoderWork Browser Use,最后 Computer Use + 浏览器前台,别直接 BLOCKED
|
|
524
|
+
- 工具冲突:先 Playwright MCP,挂了再试 QoderWork Browser Use,最后 Computer Use + 浏览器前台,别直接 BLOCKED
|