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