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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user