df0fabd4fb
Add repo-local northstars and ready slices for testing strategy, LSP/editor completion, and hemplate highlighting boundaries.
41 lines
1.4 KiB
Markdown
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.
|