示例#1
0
        [Ignore] //TODO: Re-introduce this test once the move to the new domain (premier.local) is done
        public void RefreshExplorerAfterConnectingToRemoteDoesNotRefreshLocalhost()
        {
            var _containerOps = new Depends(Depends.ContainerType.CIRemote);

            try
            {
                ExplorerUIMap.Collapse_Localhost();
                ExplorerUIMap.Select_RemoteConnectionIntegration_From_Explorer();
                Mouse.Click(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerRefreshButton, new Point(10, 10));
                Assert.IsFalse(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.localhost.Spinner.TryGetClickablePoint(out Point point), "Localhost spinner is showing while refreshing remote.");
                ExplorerUIMap.Expand_Localhost();
            }
            finally
            {
                ExplorerUIMap.Expand_Localhost();
                _containerOps?.Dispose();
            }
        }
示例#2
0
 [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.");
     }
 }
示例#3
0
 public void MyTestInitialize()
 {
     UIMap.SetPlaybackSettings();
     UIMap.AssertStudioIsRunning();
     _dependency = new Depends(Depends.ContainerType.MSSQL);
 }