aboutsummaryrefslogtreecommitdiff
path: root/tests/e2e.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e2e.sh')
-rwxr-xr-xtests/e2e.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/e2e.sh b/tests/e2e.sh
index 054bd51..50d7fa7 100755
--- a/tests/e2e.sh
+++ b/tests/e2e.sh
@@ -292,6 +292,13 @@ if [ -x "$MENUBAR" ]; then
DINGGER_TMUX_SOCKET="$SOCK" "$DINGGER" focus --client "$CLIENT" --pane "$A2"
expect "A2 idle after the jump" "opt $A2 @agent_state" idle
expect "panel with nothing waiting" "mb --print-panel" "Nothing waiting · ○ 4 idle"
+ expect "full list: every agent, then the summary with the toggle" \
+ "mb --print-panel --full | cut -f1,2 | tr '\t\n' '|;'" \
+ "○ idle|Deploy the widget;○ idle|pi;○ idle|Review PR 42;○ idle|pi;Nothing waiting · ○ 4 idle|[Show less ▴];"
+ expect "compact in Always mode offers 'Show all'" "mb --print-panel --toggle" "Nothing waiting · ○ 4 idle [Show all ▾]"
+ hook "$A1" working; hook "$A1" idle
+ expect "A1 done" "opt $A1 @agent_state" done
+ expect "full list separates waiting from the rest" "mb --print-panel --full | sed -n 2p" "---"
else
fail "menu bar binary not found at $MENUBAR"
fi