public void RemoveUsedPage(string pageName) { var page = new BlankPage(_driver); page.OpenUsingUrl(_baseUrl, pageName); page.DeletePage(pageName); var adminRecycleBinPage = new AdminRecycleBinPage(_driver); adminRecycleBinPage.OpenUsingButtons(_baseUrl); adminRecycleBinPage.EmptyRecycleBin(); }
public void DeleteData() { VerifyLogs(_logContent); var adminPageManagementPage = new AdminPageManagementPage(_driver); adminPageManagementPage.OpenUsingButtons(_baseUrl); adminPageManagementPage.DeletePage("P1Modules", AdminPageManagementPage.PageType.Web); adminPageManagementPage.OpenUsingButtons(_baseUrl); adminPageManagementPage.DeletePage("P1ModulesDragDrop", AdminPageManagementPage.PageType.Web); var adminRecycleBinPage = new AdminRecycleBinPage(_driver); adminRecycleBinPage.OpenUsingButtons(_baseUrl); adminRecycleBinPage.EmptyRecycleBin(); }
//[TestFixtureTearDown] public void Cleanup() { VerifyLogs(_logContent); var adminRecycleBinPage = new AdminRecycleBinPage(_driver); adminRecycleBinPage.OpenUsingButtons(_baseUrl); adminRecycleBinPage.EmptyRecycleBin(); }