perf(e2e): CI smoke test 改 retain-on-failure 降低錄影 overhead
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 51m8s
E2E Health Check / e2e-health (push) Successful in 3m18s

video/screenshot 從 'on' 改為 retain-on-failure/only-on-failure
CI 遠端 smoke test 預計從 13min+ 降至 ~1min

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-16 23:44:08 +08:00
parent a6a1d4d95c
commit 149065e3de

View File

@@ -33,8 +33,9 @@ export default defineConfig({
ignoreHTTPSErrors: true,
// 截圖與錄影 - 統帥強制要求
screenshot: 'on',
video: 'on',
// 2026-04-16 ogt: CI 遠端 smoke test 改為 retain-on-failure避免錄影拖慢 13min+ → ~1min
screenshot: isRemote ? 'only-on-failure' : 'on',
video: isRemote ? 'retain-on-failure' : 'on',
trace: 'on-first-retry',
// Viewport - Wave 4: deviceScaleFactor 固定為 1 (Visual Baseline 一致性)