public void CurrentConditionsList() { MainPage mainPage = new MainPage(session); mainPage.OpenSearchLocationPage(); SearchLocationsPage searchLocationPage = new SearchLocationsPage(session); Assert.IsTrue(searchLocationPage.IsPageOpen); }
public void AddButtonTest() { MainPage mainPage = new MainPage(session); mainPage.OpenSearchLocationPage(); SearchLocationsPage searchLocationPage = new SearchLocationsPage(session); Assert.IsTrue(searchLocationPage.IsPageOpen); }
public void BackNavigationTest() { MainPage mainPage = new MainPage(session); mainPage.OpenSearchLocationPage(); SearchLocationsPage searchLocationPage = new SearchLocationsPage(session); searchLocationPage.ReturnToMainPage(); Assert.IsTrue(mainPage.IsPageOpen); }
public void TestMethod() { MainPage mainPage = new MainPage(session); mainPage.OpenSearchLocationPage(); SearchLocationsPage searchPage = new SearchLocationsPage(session); searchPage.SearchForLocation("New York"); searchPage.ReturnToMainPage(); //TODO: Add more actions and asserts }
public void SearchForLocationTest() { MainPage mainPage = new MainPage(session); mainPage.OpenSearchLocationPage(); SearchLocationsPage searchLocationPage = new SearchLocationsPage(session); searchLocationPage.SearchForLocation("London"); int actualCount = searchLocationPage.GetLocationCount; Assert.AreEqual(30, searchLocationPage.GetLocationCount); }