test(e2e): phase-2 add Office and zip smoke automation (#714)

* test(e2e): phase-2 add office and zip smoke coverage

* test(e2e): address copilot review for fixture stability and CI python setup

* test(e2e): fix preflight fixture scope and path handling

* test(e2e): harden fixture preflight and remove duplicate generation

* test(e2e): remove redundant zip install and cleanup temp zip dir

* test(e2e): ensure zip dependency and unify python command in docs

* docs(e2e): align README with npm gen scripts and python3 usage
This commit is contained in:
kl
2026-03-04 14:34:32 +08:00
committed by GitHub
parent a0d78c57e3
commit bb457924cd
9 changed files with 136 additions and 12 deletions

View File

@@ -4,9 +4,12 @@
"version": "0.1.0",
"type": "module",
"scripts": {
"gen:fixtures": "node ./scripts/generate-fixtures.mjs",
"gen:office": "python3 ./scripts/generate-office-fixtures.py",
"gen:all": "npm run gen:fixtures && npm run gen:office",
"pretest": "npm run gen:all",
"test": "playwright test",
"test:headed": "playwright test --headed",
"gen:fixtures": "node ./scripts/generate-fixtures.mjs"
"test:headed": "playwright test --headed"
},
"devDependencies": {
"@playwright/test": "^1.55.0"