From 22cb8f20ec3cc47a0c87438ec20bcdbbeb7d15ef Mon Sep 17 00:00:00 2001 From: Jerry Xu Date: Fri, 28 Feb 2025 07:52:03 +0800 Subject: [PATCH] Update src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs b/src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs index a9e7577452a4..ce56fe640b0d 100644 --- a/src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs +++ b/src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs @@ -79,8 +79,7 @@ public void TestWarningDialog() Assert.IsTrue(this.FindAll("Warning").Count == 0, "Should not show warning dialog"); // Host Editor Window should not be closed - Assert.IsFalse(this.IsHostsFileEditorClosed(), "Hosts File Editor should be closed"); - + Assert.IsFalse(this.IsHostsFileEditorClosed(), "Hosts File Editor should NOT be closed"); // Close Hosts File Editor window this.Session.Find("Hosts File Editor").Close();