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
+1 -1
View File
@@ -88,4 +88,4 @@ def test_render_discussion_panel_symbol_lookup(mock_app, role):
# 3. Verify the text viewer state is updated correctly
assert mock_app.text_viewer_title == "src/models.py"
assert mock_app.text_viewer_content == "class MyClass:\n pass"
assert mock_app.show_text_viewer is True
assert mock_app.show_windows.get("Text Viewer") is True