Beispiel #1
0
        public void ReturnMatchingTemplate(string itemId)
        {
            //Given I am on the Sitecore login page
            var content = new ContentEditorPage();

            content.NavigateToPage(EnviromentSettings.SitecoreLoginUrl);

            //When I login to Sitecore

            content.LoginToContentEditor(EnviromentSettings.SitecoreEnviromentUsername, EnviromentSettings.SitecoreEnviromentPassword);


            //And I Search For A Template

            content.SearchSitecoreItem(itemId);
        }
Beispiel #2
0
        public void UnPublishASitecoreItem(string itemId)
        {
            // Given I am on the Sitecore login page
            var content = new ContentEditorPage();

            content.NavigateToPage(EnviromentSettings.SitecoreLoginWeb);

            //When I login to Sitecore

            content.LoginToContentEditor(EnviromentSettings.SitecoreEnviromentUsername, EnviromentSettings.SitecoreEnviromentPassword);

            //And I Search For A Template

            content.SearchSitecoreItem(itemId);

            //And I Delete An Item
            content.DeleteItemContentEditor();
        }
Beispiel #3
0
        public void RenameAnItemInContentEditor(string itemId, string text)
        {
            //Given I am on the Sitecore login page
            var content = new ContentEditorPage();

            content.NavigateToPage(EnviromentSettings.SitecoreLoginUrl);

            //When I login to Sitecore

            content.LoginToContentEditor(EnviromentSettings.SitecoreEnviromentUsername, EnviromentSettings.SitecoreEnviromentPassword);


            //And I Search For A Template

            content.SearchSitecoreItem(itemId);

            //And I Edit A EditTextField
            content.RenameItemContentEditor(text);
        }