diff --git a/tests/gui/test_app.py b/tests/gui/test_app.py index def835b6e..2a215522f 100644 --- a/tests/gui/test_app.py +++ b/tests/gui/test_app.py @@ -376,6 +376,8 @@ def test_app_new_window(qtbot): ) assert wins == (start_wins + 3) + app.player.cleanup() + app.closeAllWindows() @@ -448,3 +450,5 @@ def toggle_and_verify_visibility(expected_visibility: bool = True): # Toggle instance visibility with shortcut, showing instances toggle_and_verify_visibility(True) + + window.player.cleanup()