Exemplo n.º 1
0
 @Then("^I see the wishlist page$")
 public void I_see_the_wishlist_page() throws Throwable {
   // System.out.println(homelink + "my-wish-list.php    " + wishlistPage.getPageURL());
   // assert wishlistPage.getPageURL().equals(homelink + "my-wish-list.php");
   WebElement item = wishlistPage.getPageLogoElement();
   assert item != null;
 }
Exemplo n.º 2
0
 @When("^I logout$")
 public void I_logout() throws Throwable {
   wishlistPage.logOut();
 }