コード例 #1
0
        public void BackNavigationTest()
        {
            MainPage mainPage = new MainPage(session);

            mainPage.OpenSearchLocationPage();
            SearchLocationsPage searchLocationPage = new SearchLocationsPage(session);

            searchLocationPage.ReturnToMainPage();
            Assert.IsTrue(mainPage.IsPageOpen);
        }
コード例 #2
0
        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
        }