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 committed Feb 28, 2025
1 parent 14c3be8 commit e49dee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ public void TestWarningDialog()
this.LaunchFromSetting(showWarning: false);

// Should NOT show warning dialog
Assert.IsTrue(this.FindAll("Warning").Count == 0, "Should not show warning dialog");
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 e49dee4

Please sign in to comment.