Commit fa7ec84
test(themes): add git file-status + fake-LSP scenes; theme-keyed overlays
Broaden the before/after gallery's real-UI coverage and make the
overlay-driven scenes theme-faithful:
- New scenes spin up their own harness with the same theme: a git file-status
explorer (real git repo + git_explorer plugin → file_status_* colors) and an
LSP status indicator (fake LSP server → status_lsp_on_*). Both are
best-effort and bounded, so they never hang or misalign frames.
- Add completion-popup and reference/semantic-highlight scenes, and convert the
diagnostics and diff-highlight overlays to OverlayFace::Style with theme keys
so diagnostic.*/diff_* render from the theme rather than fixed RGB.
- Replace the unbounded wait_until calls in the best-effort scenes with a
bounded poll helper (a hung feature can no longer wedge the suite), and swap
the terminal scene's fixed 500ms sleep for a short bounded poll.
- CI: time-box the render step (`timeout 900`) and the job (timeout-minutes),
so a hang fails fast instead of running to the runner limit.
A single changed theme renders in ~15-20s (before + after); the run scales
with the number of changed themes.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cj5c8LTx6qGzHrHD8v2qGd1 parent 6d8a47f commit fa7ec84
3 files changed
Lines changed: 326 additions & 59 deletions
File tree
- .github/workflows
- crates/fresh-editor/tests/e2e
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
52 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
0 commit comments