-
-
Save angiejones/4d336485b47832b4ce8f321282974f61 to your computer and use it in GitHub Desktop.
Selects product options, adds to cart, goes to Cart page and verifies product is in cart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void test_add_to_cart(){ | |
productPage.setColor("Red"); | |
productPage.setSize("M"); | |
productPage.setQuanity(2); | |
productPage.addToCart(); | |
productPage.goToCart(); | |
assertTrue(cart.isProductInCart("TOKYO TALKIES")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment