@And("^I click on View Basket button to empty the basket items$") public void I_click_on_View_Basket_button_to_empty_the_basket_items() throws Throwable { LOG.debug("I click on View Basket button to empty the basket items"); WC.wait(2); checkOutPage.I_navigate_to_TESCO_direct("home_page"); homePagePO = WC.getPageObject(HomePagePO.class); homePagePO.clickingOnViewBasketButton(); basketPagePO = WC.getPageObject(BasketPagePO.class); basketPagePO.clickingOnEmptyBasketButton(); }
@When("^I update the Quantity in basket page$") public void I_update_the_Quantity_in_basket_page() throws Throwable { LOG.debug("I update the Quantity in basket page"); basketPagePO = WC.getPageObject(BasketPagePO.class); basketPagePO.updatingAndContinueTocheckout(); }