コード例 #1
0
ファイル: Refresh.cs プロジェクト: kapiya/Warewolf
        [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
 public void MyTestCleanup() => _dependency.Dispose();