Repository navigation
Commit 2007048
committed
test(desktop): stop the agent's terminal commands in the real app, with real shells and real tmux
An Electron suite for terminal cancel, which ships without a feature flag:
Stop, sign-out (by the web app's logout and by the session cookie going away),
switching Terminal off, the launch after an interrupted sign-out or a crash,
and untracked runs on tmux without pane options. It asserts what is running
and which panes exist, never which calls were made.
- Agent and user commands ignore SIGHUP, SIGINT and SIGTERM, so only Sim's own
stop can end them and a stray stop would show; each launch gets its own tmux
server, and every process name carries a per-run suffix.
- The fixture Sim and its helpers move to e2e/executor-sim.ts, shared with the
background executor suite.
- The macOS E2E job installs tmux so the tmux scenarios run in CI; elsewhere
they skip when tmux is missing.1 parent 566cea6 commit 2007048
4 files changed
Lines changed: 1157 additions & 500 deletions
File tree
- .github/workflows
- apps/desktop/e2e
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| |||
0 commit comments