diff --git a/scenarios/checkout.yml b/scenarios/checkout.yml new file mode 100644 index 0000000..01f50b0 --- /dev/null +++ b/scenarios/checkout.yml @@ -0,0 +1,14 @@ +name: checkout +title: Add a product to the cart and reach the payment step +max_steps: 50 +steps: + - open the shop front page + - open any product with a price + - add it to the cart + - open the cart + - start the checkout + - fill the delivery address + - reach the page that asks for payment +judge: + - a payment method is offered on screen + - the cart total is visible and is not zero