mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 15:29:26 +01:00
Merge pull request #476 from MihaelaStoica/CallHome
CP-12155: Fix tests (as new menu item has been added into Tools)
This commit is contained in:
commit
e35ffaadfe
@ -193,7 +193,7 @@ namespace XenAdminTests.TabsAndMenus
|
|||||||
Assert.AreEqual("templates_ShellTest1", GetVisibleToolStripItems(MainWindowWrapper.TemplatesMenu.DropDownItems)[7].Text);
|
Assert.AreEqual("templates_ShellTest1", GetVisibleToolStripItems(MainWindowWrapper.TemplatesMenu.DropDownItems)[7].Text);
|
||||||
|
|
||||||
MainWindowWrapper.ToolsMenu.ShowDropDown();
|
MainWindowWrapper.ToolsMenu.ShowDropDown();
|
||||||
Assert.AreEqual("tools_ShellTest1", GetVisibleToolStripItems(MainWindowWrapper.ToolsMenu.DropDownItems)[7].Text);
|
Assert.AreEqual("tools_ShellTest1", GetVisibleToolStripItems(MainWindowWrapper.ToolsMenu.DropDownItems)[8].Text);
|
||||||
|
|
||||||
MainWindowWrapper.HelpMenu.ShowDropDown();
|
MainWindowWrapper.HelpMenu.ShowDropDown();
|
||||||
Assert.AreEqual("help_ShellTest1", GetVisibleToolStripItems(MainWindowWrapper.HelpMenu.DropDownItems)[8].Text);
|
Assert.AreEqual("help_ShellTest1", GetVisibleToolStripItems(MainWindowWrapper.HelpMenu.DropDownItems)[8].Text);
|
||||||
|
Loading…
Reference in New Issue
Block a user