test(e2e): follow-up fixes after post-merge copilot findings (#718)

* test(e2e): follow-up fixes for post-merge copilot review feedback

* test(e2e): guard E2E_MAX_PREVIEW_MS against sub-second values
This commit is contained in:
kl
2026-03-04 15:45:04 +08:00
committed by GitHub
parent 68d4d23a4b
commit eee3a2ed38
4 changed files with 12 additions and 17 deletions

View File

@@ -13,7 +13,8 @@
"pretest:smoke": "npm run gen:all",
"test:smoke": "playwright test specs/preview-smoke.spec.ts",
"pretest:perf": "npm run gen:all",
"test:perf": "playwright test specs/perf-smoke.spec.ts"
"test:perf": "playwright test specs/perf-smoke.spec.ts",
"test:ci": "npm run gen:all && playwright test specs/preview-smoke.spec.ts specs/perf-smoke.spec.ts"
},
"devDependencies": {
"@playwright/test": "^1.55.0"