Mirrored from https://github.com/davoodmehraban89/Aram.git
Synced Dec 3, 22:00 UTC
test(desktop): assert detail search is asynchronous and controls remain responsive
davoodmehraban89 committed
Oct 31, 2026 at 22:11 UTC
1a70564fb7b13b99ea39b8980aa067e50e042be0
1 file changed
+3
backend/tests/test_desktop_five_statement.py
+3
@@ -239,6 +239,9 @@ def test_native_window_shows_real_successful_five_statement_result(tmp_path):
239
window.detail_filter_var.set("سود و زیان")
240
window.detail_search_var.set("یادداشت R01")
241
window._apply_detail_filter()
242
+ assert window._filtering
243
+ assert str(window.detail_search_button.cget("state")) == "disabled"
244
+ window.update_idletasks()
245
for _ in range(500):
246
window.update()
247
if not window._filtering: