Commit ae92a75
authored
test(smoke): skip the non-headless viewer smoke without a host display (#71)
Every assertion in this smoke describes a session that can open a host-visible
viewer: ready_for_host_viewer=true, viewer steps present in the task plan,
auto-open on workspace_start. With no DISPLAY and no WAYLAND_DISPLAY the MCP is
correct to report the viewer unavailable, so the script could only fail there —
and it failed on the first assertion with a wall of task-plan JSON that says
nothing about the change under test.
A contributor running scripts/integration_smoke.sh on a headless box hit exactly
that on #69 and reasonably read it as a failure in their own work.
Skip with a one-line reason instead, matching how the terminal-TUI and browser
CDP smokes handle a missing prerequisite. mcp_no_host_display_viewer_smoke.js
already covers the session shape a headless machine can assert.1 parent 0fa40d8 commit ae92a75
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
18 | 33 | | |
19 | 34 | | |
20 | 35 | | |
| |||
0 commit comments