public void Edit_Server_Removes_Server_From_Explorer() { ExplorerUIMap.Click_Explorer_Remote_Server_Dropdown_List(); Assert.IsTrue(UIMap.MainStudioWindow.ComboboxListItemAsRemoteConnectionIntegration.Exists); ExplorerUIMap.Select_Explorer_Remote_Server_Dropdown_List(); Assert.IsTrue(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.FirstRemoteServer.Exists, "Remote server is not loaded in the Explorer after selecting it from the connect control dropdown list."); ExplorerUIMap.Click_EditServerButton_From_ExplorerConnectControl(); SettingsUIMap.ChangeServerAuthenticationType(); Assert.IsFalse(UIMap.ControlExistsNow(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.FirstRemoteServer), "Remote server is still loaded in the Explorer after clicking edit in the connect control."); }
public void Edit_Server_Removes_Server_From_Explorer() { _containerOps = TestLauncher.StartLocalCIRemoteContainer(System.IO.Path.Combine(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "TestResults")); ExplorerUIMap.Click_Explorer_Remote_Server_Dropdown_List(); Assert.IsTrue(UIMap.MainStudioWindow.ComboboxListItemAsRemoteConnectionIntegration.Exists); ExplorerUIMap.Select_Explorer_Remote_Server_Dropdown_List(); Assert.IsTrue(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.FirstRemoteServer.Exists, "Remote server is not loaded in the Explorer after selecting it from the connect control dropdown list."); ExplorerUIMap.Click_EditServerButton_From_ExplorerConnectControl(); SettingsUIMap.ChangeServerAuthenticationType(); Assert.IsFalse(UIMap.ControlExistsNow(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.FirstRemoteServer), "Remote server is still loaded in the Explorer after clicking edit in the connect control."); }