问题根本原因: - CI配置中的命令执行路径不一致 - 'npx playwright install' 和 'npm run test:tier:standard' 在根目录执行 - 但测试配置文件在 e2e/ 目录下 修复方案: - 所有E2E测试相关命令都在 e2e/ 目录下执行 - 使用 'cd e2e && npx playwright install' - 使用 'cd e2e && npm run test:standard' 验证: - 命令路径正确 - 测试配置文件可访问 Ralph Loop #6 完成
This commit is contained in:
+2
-2
@@ -150,8 +150,8 @@ steps:
|
||||
commands:
|
||||
- npm ci
|
||||
- cd e2e && npm ci
|
||||
- npx playwright install chromium --with-deps
|
||||
- npm run test:tier:standard
|
||||
- cd e2e && npx playwright install chromium --with-deps
|
||||
- cd e2e && npm run test:standard
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
||||
Reference in New Issue
Block a user