Open the agents overview directly in the reconnect test (#41929)

## What changed

Dispatch `AppEvent::OpenAgentsOverview` in the daemon reconnect navigation test instead of simulating the Alt+A keyboard shortcut.

GitOrigin-RevId: 99729a39496ffb96747f6d0c4be0edf52d1ef3f6
This commit is contained in:
jif
2026-08-31 23:07:21 +00:00
committed by copyberry
parent c4350b4ca2
commit 2c3bf4ea79
@@ -377,12 +377,8 @@ async fn reconnect_daemon_command_center_after_socket_replacement_without_a_conv
app.chat_widget.composer_text_with_pending(),
"latest draft!"
);
app.handle_tui_event(
&mut tui,
&mut session,
TuiEvent::Key(KeyEvent::new(KeyCode::Char('a'), KeyModifiers::ALT)),
)
.await?;
app.handle_event(&mut tui, &mut session, AppEvent::OpenAgentsOverview)
.await?;
assert!(app.chat_widget.has_active_view());
app.handle_tui_event(
&mut tui,