- 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
32 lines
981 B
JSON
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"
|
|
}
|
|
} |