public void DuplicateServerSource_AddsToConnectControl() { ExplorerUIMap.Click_Duplicate_From_ExplorerContextMenu("ExistingCodedUITestServerSource"); const string newName = "DuplicatedCodedUITestServerSource"; WorkflowTabUIMap.Enter_Duplicate_workflow_name(newName); DialogsUIMap.Click_Duplicate_From_Duplicate_Dialog(); UIMap.WaitForSpinner(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.localhost.Checkbox.Spinner); ExplorerUIMap.Filter_Explorer(newName); Assert.AreEqual(newName, ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.localhost.FirstItem.ItemEdit.Text, "First Item is not the same as Filtered input."); ExplorerUIMap.Click_Explorer_Remote_Server_Dropdown_List(); Assert.IsTrue(UIMap.MainStudioWindow.ComboboxListItemAsDuplicatedConnection.Exists); }
[Ignore] //TODO: Re-introduce this test once the move to the new domain (premier.local) is done public void Edit_Server_Removes_Server_From_Explorer() { using (var _containerOps = new Depends(Depends.ContainerType.CIRemote)) { 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 Server_DropDown_Has_Remote_Servers_UITest() { ExplorerUIMap.Click_Explorer_Remote_Server_Dropdown_List(); Assert.IsTrue(UIMap.MainStudioWindow.ComboboxListItemAsRemoteConnectionIntegration.Exists); }