Upgrade Playwright suite to v2.5.1 SQLite deep testing

This commit is contained in:
A R R R Associates
2026-06-24 20:05:36 +05:30
parent 89ba3e85a1
commit ba1075ef19
33 changed files with 16167 additions and 240 deletions
+8 -1
View File
@@ -9,4 +9,11 @@ COPY . .
RUN mkdir -p results test-results playwright-report
CMD ["bash", "-lc", "node run-api-checks.js && npx playwright test --reporter=list --workers=1; npm run report:json; npm run update:excel; echo 'Tests completed. Starting result server.'; node scripts/result-server.js"]
# SQLite-first execution flow:
# 1. API checks
# 2. Import test matrix into SQLite
# 3. Run Playwright; custom reporter records every test result immediately in SQLite
# 4. Export SQLite to JSON and Excel
# 5. Update original master Excel from merged JSON
# 6. Start single-page result download server on port 3000
CMD ["bash", "-lc", "node run-api-checks.js; npm run db:import-cases; npx playwright test --workers=1; npm run db:summary; npm run db:export-json; npm run db:export-excel; npm run update:excel; echo 'Tests completed. Starting result server.'; node scripts/result-server.js"]