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
This commit is contained in:
BIN
tests/visual/baseline/homepage_desktop.png
Normal file
BIN
tests/visual/baseline/homepage_desktop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
BIN
tests/visual/baseline/homepage_mobile.png
Normal file
BIN
tests/visual/baseline/homepage_mobile.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 773 KiB |
BIN
tests/visual/baseline/homepage_tablet.png
Normal file
BIN
tests/visual/baseline/homepage_tablet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 962 KiB |
Reference in New Issue
Block a user