public void UnBlockUser() { UserPage userPage = GoToUserPager(); UserForm editUser = userPage.GoToBlockedUser(); string email = editUser.Header.Text; UserPage userList = editUser.UnBlockUser(); Assert.IsTrue(userPage.SuccessAlert.Displayed); Assert.IsTrue(userPage.SuccessAlert.Text.Contains("Dane zostały zapisane")); Assert.IsTrue(userList.Table.AllRowsOnTable.Any(e => e.Text.Contains(email) && e.Text.Contains("Nie"))); }