public void TestUserSearchForValidPost() { var topMenu = new TopMenu(driver); topMenu.SearchPost(Strings.SamplePost); var searchScreen = new SearchScreen(driver); searchScreen.ValidateResults(Strings.SamplePost); }
public void TestUserSearchForInvalidPost() { var topMenu = new TopMenu(driver); topMenu.SearchPost(Strings.InvalidPost); var searchScreen = new SearchScreen(driver); searchScreen.ValidateNothingFoundError(Strings.InvalidPost); }
public void TestTopMenuComponents() { var topMenu = new TopMenu(driver); topMenu.ClickTwitterIcon(); driver.Navigate(Strings.BaseURL); topMenu.ClickLinkedInIcon(); driver.Navigate(Strings.BaseURL); topMenu.ClickHomeLink(); topMenu.ClickAboutMeLink(); topMenu.SearchPost(Strings.SamplePost); }