From 545c7c8535c9a45cc6f30e453e5b18a20dbf0d48 Mon Sep 17 00:00:00 2001 From: Jacob Tobiasz Date: Wed, 22 Nov 2023 08:05:37 +0100 Subject: [PATCH] [WIP] Cover seeing_order_discounts.feature scenario --- .../order_details/seeing_order_discounts.feature | 4 ++-- .../Resources/config/suites/api/order/managing_orders.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/features/order/managing_orders/order_details/seeing_order_discounts.feature b/features/order/managing_orders/order_details/seeing_order_discounts.feature index a12e318b9e27..7b3ff27aeaf6 100644 --- a/features/order/managing_orders/order_details/seeing_order_discounts.feature +++ b/features/order/managing_orders/order_details/seeing_order_discounts.feature @@ -15,7 +15,7 @@ Feature: Seeing discounts of an order And there is a customer "lucy@teamlucifer.com" that placed an order "#00000666" And I am logged in as an administrator - @ui + @ui @api Scenario: Seeing promotion discount on order while buying at least 3 items Given the promotion gives "$15.00" discount to every order with quantity at least 3 And the customer bought 4 "Angel T-Shirt" products @@ -26,7 +26,7 @@ Feature: Seeing discounts of an order And the order's promotion discount should be "-$15.00" from "Holiday promotion" promotion And the order's total should be "$141.00" - @ui + @ui @api Scenario: Seeing promotion discount on order's items while buying a product from a promoted taxon Given the promotion gives "$10.00" off on every product classified as "T-Shirts" And the customer bought a single "Angel T-Shirt" diff --git a/src/Sylius/Behat/Resources/config/suites/api/order/managing_orders.yml b/src/Sylius/Behat/Resources/config/suites/api/order/managing_orders.yml index fa0389a6295f..dd579e3ce447 100644 --- a/src/Sylius/Behat/Resources/config/suites/api/order/managing_orders.yml +++ b/src/Sylius/Behat/Resources/config/suites/api/order/managing_orders.yml @@ -19,10 +19,12 @@ default: - sylius.behat.context.setup.order - sylius.behat.context.setup.payment - sylius.behat.context.setup.product + - sylius.behat.context.setup.product_taxon - sylius.behat.context.setup.promotion - sylius.behat.context.setup.shipping - sylius.behat.context.setup.shop_api_security - sylius.behat.context.setup.taxation + - sylius.behat.context.setup.taxonomy - sylius.behat.context.setup.zone - Sylius\Calendar\Tests\Behat\Context\Setup\CalendarContext