Fix tui test that still wanted to use shortcuts
This commit is contained in:
parent
276e86a033
commit
7835509213
1 changed files with 2 additions and 2 deletions
|
|
@ -270,8 +270,8 @@ async def test_clear_chat_resets_session(temp_db_path: Path):
|
||||||
assert app.session_state is not None
|
assert app.session_state is not None
|
||||||
original_session_id = app.session_state.session_id
|
original_session_id = app.session_state.session_id
|
||||||
|
|
||||||
# Clear chat
|
# Clear chat via action (available through command palette)
|
||||||
await pilot.press("ctrl+l")
|
await app.action_clear_chat()
|
||||||
await pilot.pause()
|
await pilot.pause()
|
||||||
|
|
||||||
# Verify messages cleared
|
# Verify messages cleared
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue