Add workbench screenshot capture smoke
This commit is contained in:
@@ -2323,3 +2323,29 @@ Limitations:
|
||||
|
||||
Next recommended pass:
|
||||
- Add browser screenshot artifact automation for visual regression handoff.
|
||||
|
||||
## Sprint 59 workbench screenshot artifacts (2026-06-18)
|
||||
|
||||
Changed:
|
||||
- Added `scripts/capture_workbench_screenshots.sh` for optional visual regression handoff screenshots.
|
||||
- The script seeds the explicit offline demo workflow, opens Overview, Data, Map, QA/QC, AI Labs, Exports and System, then writes viewport screenshots plus `manifest.json`.
|
||||
- Desktop capture is always enabled; mobile capture is enabled by default and can be disabled with `CAPTURE_MOBILE=0`.
|
||||
- Added `/artifacts/` to `.gitignore` so screenshot outputs stay local.
|
||||
- Added readiness syntax coverage and regression checks for the screenshot capture contract.
|
||||
- Updated `scripts/README.md`, `docs/TODO.md` and `CHANGELOG.md`.
|
||||
|
||||
Tested:
|
||||
- `bash -n scripts/capture_workbench_screenshots.sh`
|
||||
- `cd backend && python -m pytest tests/test_readiness_gate.py -q` (`13 passed`)
|
||||
- `bash scripts/run_readiness_check.sh` (`221 passed`)
|
||||
- Local script execution without Playwright fails cleanly with setup instructions instead of producing partial artifacts.
|
||||
- Browser-plugin visual capture against `http://192.168.10.150:1202` created viewport screenshots for all seven workspaces with no console errors or warnings.
|
||||
|
||||
Open:
|
||||
- Commit, deploy Tower and keep the visual artifact script available for future Playwright-enabled runners.
|
||||
|
||||
Limitations:
|
||||
- Playwright/Chromium is intentionally optional and not added to the frontend dependency set. The readiness gate checks script syntax only.
|
||||
|
||||
Next recommended pass:
|
||||
- Run a backend error-envelope audit for expected user-error paths.
|
||||
|
||||
+3
-2
@@ -59,7 +59,7 @@ This file now starts with the current implementation status. Older preparation/b
|
||||
- [x] Demo workflow orchestration hook decomposition.
|
||||
- [x] Final `App.tsx` import/encoding cleanup and size audit.
|
||||
- [x] Optional final bootstrap-effect extraction.
|
||||
- [ ] Decide next V1 stabilization focus: browser screenshot artifact automation, backend error-envelope audit, or golden dataset expansion.
|
||||
- [ ] Decide next V1 stabilization focus: backend error-envelope audit or golden dataset expansion.
|
||||
|
||||
## Sprint 8 status
|
||||
|
||||
@@ -328,4 +328,5 @@ This file now starts with the current implementation status. Older preparation/b
|
||||
- [x] Add export history filtering controls for long-running demo environments.
|
||||
- [x] Add a safe export retention/cleanup command for demo environments.
|
||||
- [x] Add a live dry-run maintenance smoke for demo export cleanup.
|
||||
- [ ] Add browser screenshot artifact automation for visual regression handoff.
|
||||
- [x] Add browser screenshot artifact automation for visual regression handoff.
|
||||
- [ ] Add backend error-envelope audit for expected user-error paths.
|
||||
|
||||
Reference in New Issue
Block a user