Files
APAW/tests/package.json
NW c6b15e0bcd feat: implement visual regression testing v2.0 — Playwright pipeline with bbox extraction
- Add visual-test-pipeline.js: captures screenshots, extracts UI elements with bounding boxes, compares via pixelmatch, reports console/network errors
- Add capture-screenshots.js: baseline/current screenshot capture at mobile/tablet/desktop viewports
- Add console-error-monitor-standalone.js: standalone console/network error detection without MCP dependency
- Rewrite docker-compose.web-testing.yml: real Playwright image, working services, proper volume mounts
- Update package.json: v2.0.0, add playwright dependency, clean scripts
- Update README.md: accurate Docker-first docs with usage examples
- Add .gitignore: exclude node_modules, current/diff screenshots, reports
- Include baseline screenshots for bbox.wtf homepage
2026-04-16 22:32:41 +01:00

32 lines
981 B
JSON

{
"name": "apaw-web-testing",
"version": "2.0.0",
"description": "Web application testing suite for APAW - Visual regression, link checking, form testing, console error detection",
"main": "scripts/visual-test-pipeline.js",
"scripts": {
"test": "node scripts/visual-test-pipeline.js",
"test:visual": "node scripts/visual-test-pipeline.js",
"test:baseline": "node scripts/capture-screenshots.js baseline",
"test:current": "node scripts/capture-screenshots.js current",
"test:compare": "node scripts/compare-screenshots.js",
"test:console": "node scripts/console-error-monitor-standalone.js",
"test:links": "node scripts/link-checker.js"
},
"keywords": [
"web-testing",
"visual-regression",
"e2e",
"playwright",
"kilo-code"
],
"author": "APAW Team",
"license": "MIT",
"dependencies": {
"pixelmatch": "^5.3.0",
"playwright": "^1.52.0",
"pngjs": "^7.0.0"
},
"engines": {
"node": ">=18.0.0"
}
}