Files
hemx/work/slices/SLICE-0002-browser-runtime-confidence.md
T
slhx agent df0fabd4fb docs(work): map testing and editor northstars
Add repo-local northstars and ready slices for testing strategy, LSP/editor completion, and hemplate highlighting boundaries.
2026-06-25 22:20:50 +02:00

41 lines
1.4 KiB
Markdown

---
id: SLICE-0002
type: slice
status: ready
parent: NS-0001
title: Keep html_examples browser smoke as runtime confidence proof
refs:
- REQUIREMENTS.md
- hemx-xtask/src/main.rs
- examples/html_examples/README.md
- examples/html_examples/src/main.rs
---
## Objective
Keep `html-examples-smoke` as the repo-owned browser proof for no-reload dynamic interactions, revealed fallback, interval triggers, and the htmx-equivalent gallery behaviors.
## Authority
`REQUIREMENTS.md` `test/006`, `test/013`, `test/014`, `convention/005`, `convention/014`, and `examples/012` constrain the smoke: no `/tmp` scripts, no navigation/reload fallback, and deterministic browser coverage.
## Close when
- The smoke covers click-to-edit, edit-row, inline validation, active search, delete row, lazy load, click-to-load, infinite/reveal, progress interval, value select, reset input, and revealed fallback without IntersectionObserver.
- The no-navigation/no-reload guard wraps dynamic interactions.
- Failures identify the named smoke path.
## Verification
- `cargo test -p hemx-xtask`
- `cargo run -p hemx-xtask -- html-examples-smoke`
## Non-goals
- Do not add Playwright, Selenium, or a second browser runner without a separate decision.
- Do not move smoke scripts to `/tmp` or untracked files.
## Evidence
`hemx-xtask/src/main.rs` owns the CDP-driven smoke command and inline smoke scripts.