Add console visual checks

This commit is contained in:
2026-06-27 14:52:38 +02:00
parent 57057c8104
commit 8c035b0b98
6 changed files with 440 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ type: workplan
title: "Design operator console and whynot UI adapters"
domain: infotech
repo: core-hub
status: active
status: finished
owner: codex
topic_slug: custodian
created: "2026-06-27"
@@ -53,9 +53,9 @@ Result 2026-06-27: Added protected `/console` prototype in FastAPI with whynot-a
```task
id: CORE-WP-0006-T04
status: wait
status: done
priority: low
state_hub_task_id: "12628328-6699-4abf-aa95-c0a07542f3e9"
```
Add Playwright visual checks for `/console` across desktop and mobile, including non-overlap checks and protected-state screenshot handling.
Result 2026-06-27: Added `make visual-check` backed by `scripts/check_console_visual.py`, with Playwright Chromium desktop/mobile screenshots, protected `/console` auth handling, non-overlap and horizontal-overflow checks, PNG validation, and full-key non-disclosure assertions. Screenshots are written under ignored `.local/visual-checks/`.