test: add end-to-end UI verification harness for deploy artifact
Adds VERIFICATION.md + scripts/verify_ui.mjs, a Playwright-driven check of the full user journey against the deployed SPA: page loads clean, Leaflet map renders, a real DOM upload (.sub + GPS) returns a device match, and the capture store increments. Grounded in real element IDs and live endpoints. In-sandbox this session covered the code-correctness layers (L1-substance parse->match->category, L3 save/load round-trip, L4 BinRAW + per-device catalog category regressions). The runtime/transport layers still require a live listening server and must be run from a normal shell: - L0 docker compose up --build, container healthy - L1 HTTP curl/jq /health + static assets 200 - L2 Playwright browser journey (scripts/verify_ui.mjs) - L3 restart container up->down->up, capture count unchanged (volume) Also ignores trained model binaries (models/*.onnx, *.pt) and the verify-shots/ screenshot output. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -106,3 +106,10 @@ site/
|
||||
# External signature databases (git repositories)
|
||||
signatures/flipperzero-firmware/
|
||||
signatures/rtl_433/
|
||||
|
||||
# UI verification screenshots (scripts/verify_ui.mjs)
|
||||
verify-shots/
|
||||
|
||||
# Trained model binaries (regenerated by training scripts, not versioned)
|
||||
models/*.onnx
|
||||
models/*.pt
|
||||
|
||||
Reference in New Issue
Block a user