public void AssertUserIsLoggedIn(String firstName) { AssertThat .Element(homePage.GetHeaderFragment().GetMyProfileButton()) .IsVisible() .TextContainsIgnoringCase(firstName); }
public void AssertUserIsNotLoggedIn(String firstName) { AssertThat .Element(homePage.GetHeaderFragment().GetMyProfileButton()) .HasVisibility(false); }
public void AssertSearchResultPresent(String accountId) { AssertThat .Element(SearchResultsPage.SearchResultsContainer) .AttributeContains("innerHTML", accountId); }