fix additional tests

This commit is contained in:
BlueBlock
2023-02-03 17:05:36 -05:00
parent a9ca243c0b
commit 9ff831faab
3 changed files with 4 additions and 5 deletions

View File

@@ -13,14 +13,14 @@ namespace mRemoteNGTests.UI.Forms.OptionsPages
public void ConnectionsPageLinkExistsInListView()
{
ListViewTester listViewTester = new ListViewTester("lstOptionPages", _optionsForm);
Assert.That(listViewTester.Items[4].Text, Does.Match("Connections"));
Assert.That(listViewTester.Items[2].Text, Does.Match("Connections"));
}
[Test]
public void ConnectionsIconShownInListView()
{
ListViewTester listViewTester = new ListViewTester("lstOptionPages", _optionsForm);
Assert.That(listViewTester.Items[4].ImageList, Is.Not.Null);
Assert.That(listViewTester.Items[2].ImageList, Is.Not.Null);
}
[Test]

View File

@@ -13,14 +13,14 @@ namespace mRemoteNGTests.UI.Forms.OptionsPages
public void TabsPanelPageLinkExistsInListView()
{
ListViewTester listViewTester = new ListViewTester("lstOptionPages", _optionsForm);
Assert.That(listViewTester.Items[2].Text, Does.Match("Tabs & Panels"));
Assert.That(listViewTester.Items[3].Text, Does.Match("Tabs & Panels"));
}
[Test]
public void TabsPanelIconShownInListView()
{
ListViewTester listViewTester = new ListViewTester("lstOptionPages", _optionsForm);
Assert.That(listViewTester.Items[2].ImageList, Is.Not.Null);
Assert.That(listViewTester.Items[3].ImageList, Is.Not.Null);
}
[Test]

View File

@@ -66,7 +66,6 @@ namespace mRemoteNGTests.UI.Window.ConfigWindowTests
public void AutomaticResizePropertyShown_WhenResolutionIsDynamic(RDPResolutions resolution)
{
ConnectionInfo.Resolution = resolution;
ExpectedPropertyList.Clear();
ExpectedPropertyList.Add(nameof(mRemoteNG.Connection.ConnectionInfo.AutomaticResize));
RunVerification();