- Allure CLI not found — Using
npx allureinstead ofnpx allure-commandline - Missing test results — No
.jsonfiles inallure-results/directory - Java not installed — Allure CLI requires Java runtime
-
Verify test results exist:
ls -la allure-results/ | grep .json -
Check Java is installed:
java -version
-
Update global-teardown.ts to use correct command:
npx allure-commandline generate ./allure-results --clean -o ./allure-report
- ✅ Node 24 compatible
- ✅ allure-playwright 3.0.5 compatible
- ✅ @types/node ^22.10.2 already supports Node 24
1. Update package.json:
"@playwright/test": "^1.56.0"2. Update playwright.config.ts:
PlaywrightVersion: '1.56.0',3. Install & update packages:
npm install
npm install -g allure-commandlinenpm run test:api:local
npm run test:e2e:local- Verify
allure-commandlineis installed globally - Check Java is installed:
java -version - Upgrade Playwright to 1.56.0
- Update playwright.config.ts version reference
- Run tests and verify Allure report generates