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:
Gabor Apati-Nagy 2015-05-21 11:48:11 +01:00
commit e35ffaadfe

View File

@ -193,7 +193,7 @@ namespace XenAdminTests.TabsAndMenus
Assert.AreEqual("templates_ShellTest1", GetVisibleToolStripItems(MainWindowWrapper.TemplatesMenu.DropDownItems)[7].Text);
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();
Assert.AreEqual("help_ShellTest1", GetVisibleToolStripItems(MainWindowWrapper.HelpMenu.DropDownItems)[8].Text);