From 575ca422588543837039e727caad74bf91daa5cd Mon Sep 17 00:00:00 2001 From: Xuz Date: Wed, 7 Oct 2026 22:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E6=97=B6=E5=88=87=E6=8D=A2=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E8=A6=86=E7=9B=96=E4=B8=BB=E6=9C=BA=E6=A0=91=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A1=86=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- tests/ui/settings.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/ui/settings.rs b/tests/ui/settings.rs index 3a52a04..f0d777b 100644 --- a/tests/ui/settings.rs +++ b/tests/ui/settings.rs @@ -681,6 +681,8 @@ fn the_interface_language_changes_the_window_at_once(cx: &mut TestAppContext) { assert_eq!(window.find("settings-tab").label(), Some("设置")); assert_eq!(window.find("show-hosts").label(), Some("主机")); assert_eq!(appearance_dropdown(window, 1).as_deref(), Some("跟随系统")); + // Set once when the list was made, and kept by the input. + assert_eq!(window.find("host-search").label(), Some("搜索主机或分组")); }) .unwrap(); @@ -699,6 +701,10 @@ fn the_interface_language_changes_the_window_at_once(cx: &mut TestAppContext) { assert_eq!(window.find("show-hosts").label(), Some("Hosts")); assert_eq!(appearance_dropdown(window, 0).as_deref(), Some("English")); assert_eq!(appearance_dropdown(window, 1).as_deref(), Some("System")); + assert_eq!( + window.find("host-search").label(), + Some("Search hosts or groups") + ); }) .unwrap();