From e77c73a7be5598052c67dc2faff7544569373dbc Mon Sep 17 00:00:00 2001 From: gitadmin Date: Sun, 27 Sep 2026 03:07:24 +0000 Subject: [PATCH] Add the checkout scenario --- scenarios/checkout.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scenarios/checkout.yml 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