Created
August 15, 2020 15:21
-
-
Save seifip/d19d141fbf745b1d81fd47715a7cf08e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
*** Keywords *** | |
Process order | |
[Arguments] ${order} | |
Set Suite Variable ${CURRENT_ORDER_ID} ${order["id"]} | |
Log Event π€ Started processing order info customer=${order["first_name"]} ${order["last_name"]} zip=${order["zip"]} | |
Reset application state | |
Open products page | |
Assert cart is empty | |
Wait Until Keyword Succeeds 3x 1s Add product to cart ${order} | |
Log Event π Added product to cart info name=${order["item"]} | |
Wait Until Keyword Succeeds 3x 1s Open cart | |
Assert one product in cart ${order} | |
Checkout ${order} | |
Log Event π Finished processing order | |
Open products page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment