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); }
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(); }
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); }