Exemple #1
0
        public void RenameFolder_ThenFolderItem()
        {
            ExplorerUIMap.Filter_Explorer("FolderItem");
            ExplorerUIMap.Rename_LocalFolder_To_SecondFolder(newFolderName);
            UIMap.WaitForSpinner(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.Spinner);
            ExplorerUIMap.Rename_FolderItem_ToNewFolderItem(newResourceName);
            UIMap.WaitForSpinner(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.Spinner);
            ExplorerUIMap.Click_Explorer_Refresh_Button();
            var itemEdit = ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.localhost.FirstItem.FirstSubItem.ResourceNameTextBlock;

            Assert.AreEqual(newResourceName, itemEdit.DisplayText);
        }