From 7835509213f109c994aa77f5373f016bcec09d9f Mon Sep 17 00:00:00 2001 From: Yiorgis Gozadinos Date: Mon, 26 Jan 2026 14:24:40 +0200 Subject: [PATCH] Fix tui test that still wanted to use shortcuts --- tests/chat/test_chat_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/chat/test_chat_app.py b/tests/chat/test_chat_app.py index 7a4e2660..a842acc4 100644 --- a/tests/chat/test_chat_app.py +++ b/tests/chat/test_chat_app.py @@ -270,8 +270,8 @@ async def test_clear_chat_resets_session(temp_db_path: Path): assert app.session_state is not None original_session_id = app.session_state.session_id - # Clear chat - await pilot.press("ctrl+l") + # Clear chat via action (available through command palette) + await app.action_clear_chat() await pilot.pause() # Verify messages cleared