Esempio n. 1
0
 public void able_to_do_search()
 {
     HomePage homePage = new HomePage (driver);
     homePage.navigateToAppRoot ();
     homePage.enterSearch ("red shoes");
     homePage.clickSearch ();
 }
Esempio n. 2
0
        public void able_to_do_search()
        {
            HomePage homePage = new HomePage(driver);

            homePage.navigateToAppRoot();
            homePage.enterSearch("red shoes");
            homePage.clickSearch();
        }
Esempio n. 3
0
 public void able_to_sort_the_product_by_high_to_low()
 {
     HomePage homePage = new HomePage (driver);
     homePage.navigateToAppRoot ();
     homePage.enterSearch ("red shoes");
     CategoryPage categoryPage = homePage.clickSearch ();
     categoryPage.sortBy ("Price high to low");
     Assert.AreEqual ("Price high to low" , categoryPage.sortBy ("Price high to low"));
 }
Esempio n. 4
0
        public void able_to_sort_the_product_by_high_to_low()
        {
            HomePage homePage = new HomePage(driver);

            homePage.navigateToAppRoot();
            homePage.enterSearch("red shoes");
            CategoryPage categoryPage = homePage.clickSearch();

            categoryPage.sortBy("Price high to low");
            Assert.AreEqual("Price high to low", categoryPage.sortBy("Price high to low"));
        }