Skip to content

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Dec 22, 2025

Changes

  1. e2e:all 现在使用 turbo 缓存

    • e2e:all -> turbo run e2e:run
    • e2e:run -> playwright test (实际执行)
  2. 禁用 HTML report 自动打开

    • 设置 open: 'never' 防止阻塞 AI/CI 工作流
    • 需要查看报告时使用 pnpm e2e:report

命令说明

命令 用途
pnpm e2e <spec> 开发时选择性运行(无缓存)
pnpm e2e:all 运行全部测试(有缓存)
pnpm e2e:report 手动打开 HTML 报告

- e2e:all now runs through turbo for caching
- e2e:run is the actual playwright test command
- HTML report no longer auto-opens (blocks AI workflows)
Commands now use turbo by default:
- test -> turbo run test:run
- typecheck -> turbo run typecheck:run
- i18n:check -> turbo run i18n:run
- e2e:all -> turbo run e2e:run

Added 'check' command to run all checks at once:
- pnpm check = typecheck + test + i18n:check

Removed turbo:* prefix commands (no longer needed)
@Gaubee Gaubee merged commit 4280805 into main Dec 22, 2025
7 checks passed
@Gaubee Gaubee deleted the fix/e2e-turbo-and-report branch December 22, 2025 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants