public void EditButtonRedirections() { _adminUsersPage.Navigate(); //// scroll method Actions actions = new Actions(Driver); actions.MoveToElement(_adminUsersPage.UserEditButton); actions.Perform(); _adminUsersPage.UserEditButton.Click(); _adminUsersPage.UserEditCancelButton.Click(); _adminUsersPage.AdminUserPageElements_Assertion(); }
public void DeleteUser() { _adminUsersPage.Navigate(); // scroll method Actions actions = new Actions(Driver); actions.MoveToElement(_adminUsersPage.UserDeleteButton); actions.Perform(); _adminUsersPage.UserDeleteButton.Click(); _adminUsersPage.UserDelete1Button.Click(); Thread.Sleep(2000); _adminUsersPage.AdminUserPageElements_Assertion(); }
public void PageElementsAreVisible() { _adminUsersPage.Navigate(); _adminUsersPage.AdminUserPageElements_Assertion(); }