feat(hooks): add get_indicator_state and verify thinking/live markers

This commit is contained in:
2026-02-23 19:25:08 -05:00
parent bd5dc16715
commit 6d16438477
3 changed files with 23 additions and 0 deletions

View File

@@ -26,6 +26,13 @@ def test_select_list_item_integration(live_gui):
response = client.select_list_item("disc_listbox", "Default")
assert response == {'status': 'queued'}
def test_get_indicator_state_integration(live_gui):
client = ApiHookClient()
# thinking_indicator is usually hidden unless AI is running
response = client.get_indicator_state("thinking_indicator")
assert 'shown' in response
assert response['tag'] == "thinking_indicator"
def test_app_processes_new_actions():
import gui
from unittest.mock import MagicMock, patch