From b74ee6c256dc8baa36bfda839f0fcb17071ec1e2 Mon Sep 17 00:00:00 2001 From: GeekMr <140129782+WilliamWang1721@users.noreply.github.com> Date: Wed, 23 Sep 2026 12:40:00 +0800 Subject: [PATCH] test: restore stable file path interaction timing --- nebula_app/src/gpui_shell/workspace/details_panel_tests.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/nebula_app/src/gpui_shell/workspace/details_panel_tests.rs b/nebula_app/src/gpui_shell/workspace/details_panel_tests.rs index 3a0eb74..c679fe2 100644 --- a/nebula_app/src/gpui_shell/workspace/details_panel_tests.rs +++ b/nebula_app/src/gpui_shell/workspace/details_panel_tests.rs @@ -73,7 +73,6 @@ fn file_path_edit_navigates_and_keeps_the_last_directory_on_error_or_escape( cx.simulate_keystrokes("ctrl-a"); cx.simulate_input("中文 folder"); cx.simulate_keystrokes("enter"); - cx.background_executor.run_until_parked(); cx.run_until_parked(); workspace.read_with(&cx, |view, _| { assert!(view.file_tree_path.is_none()); @@ -93,7 +92,6 @@ fn file_path_edit_navigates_and_keeps_the_last_directory_on_error_or_escape( cx.update(|window, cx| window.draw(cx).clear(cx)); assert!(cx.debug_bounds("file-tree-path-editor").is_some()); cx.simulate_keystrokes("enter"); - cx.background_executor.run_until_parked(); cx.run_until_parked(); workspace.read_with(&cx, |view, _| { assert!( @@ -108,7 +106,6 @@ fn file_path_edit_navigates_and_keeps_the_last_directory_on_error_or_escape( cx.simulate_keystrokes("ctrl-a"); cx.simulate_input("missing-directory"); cx.simulate_keystrokes("enter"); - cx.background_executor.run_until_parked(); cx.run_until_parked(); workspace.read_with(&cx, |view, _| { assert!(view.file_tree_path_error().is_some());