Private
Public Access
0
0

test: Fix assertions after GUI state unification

- Update test_gui_symbol_navigation.py and test_gui_text_viewer.py to assert against show_windows['Text Viewer'] instead of the deprecated show_text_viewer attribute.
- Increase synchronization wait time in test_visual_sim_gui_ux.py to ensure the GUI loop accurately reflects the mocked MMA status.
This commit is contained in:
2026-06-02 02:20:07 -04:00
parent 6e0d002d05
commit 964b5c5aa4
7 changed files with 240 additions and 29 deletions
+2 -2
View File
@@ -37,10 +37,10 @@ def test_gui_ux_event_routing(live_gui) -> None:
'tier_usage': usage,
'tickets': []
})
time.sleep(1)
time.sleep(2)
status = client.get_mma_status()
assert status.get('mma_status') == 'simulating'
assert status.get('mma_status') == 'simulating', f"Expected 'simulating', got '{status.get('mma_status')}'"
assert status.get('tier_usage', {}).get('Tier 1', {}).get('input') == 10
print("[SIM] Global state update verified.")