Skip to content

Commit

Permalink
Update src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot <[email protected]>
  • Loading branch information
jamrobot and Copilot authored Feb 27, 2025
1 parent 14c3be8 commit 22cb8f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Window>("Hosts File Editor").Close();

Expand Down

0 comments on commit 22cb8f2

Please sign in to comment.