38 lines
1.4 KiB
JSON
38 lines
1.4 KiB
JSON
{
|
|
"name": "error_flash_preserves_focused_pane",
|
|
"presets": {
|
|
"processes": [
|
|
{
|
|
"name": "steady",
|
|
"argv": ["sh", "-lc", "printf 'STEADY READY\\n'; sleep 5"]
|
|
}
|
|
]
|
|
},
|
|
"trust": ["steady"],
|
|
"steps": [
|
|
{
|
|
"type": "mcp_call",
|
|
"method": "spawn_process",
|
|
"params": {"kind": "command", "preset": "steady", "name": "steady"},
|
|
"save_as": "proc"
|
|
},
|
|
{ "type": "wait_text", "contains": "STEADY READY", "timeout_ms": 5000 },
|
|
{ "type": "send_chord", "chord": "ctrl-k" },
|
|
{ "type": "send_text", "text": "Open Settings" },
|
|
{ "type": "send_chord", "chord": "enter" },
|
|
{ "type": "send_chord", "chord": "enter" },
|
|
{ "type": "send_chord", "chord": "ctrl-n" },
|
|
{ "type": "send_chord", "chord": "ctrl-n" },
|
|
{ "type": "send_chord", "chord": "ctrl-n" },
|
|
{ "type": "send_chord", "chord": "ctrl-n" },
|
|
{ "type": "send_chord", "chord": "ctrl-n" },
|
|
{ "type": "send_chord", "chord": "ctrl-n" },
|
|
{ "type": "send_chord", "chord": "ctrl-n" },
|
|
{ "type": "send_chord", "chord": "enter" },
|
|
{ "type": "wait_text", "contains": "no active top-level agent to summarize", "timeout_ms": 5000 },
|
|
{ "type": "wait_text", "contains": "STEADY READY", "timeout_ms": 5000 },
|
|
{ "type": "assert_contains", "contains": "STEADY READY" },
|
|
{ "type": "assert_not_contains", "contains": "Press Ctrl-K to spawn an agent or process" }
|
|
]
|
|
}
|