Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 572bd74

Browse files
committed
WIP
1 parent 276b76c commit 572bd74

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/Sylius/Behat/Context/Setup/OrderContext.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
use Sylius\Component\Core\Model\ShopUserInterface;
3030
use Sylius\Component\Core\OrderCheckoutTransitions;
3131
use Sylius\Component\Core\OrderPaymentTransitions;
32+
use Sylius\Component\Core\OrderShippingTransitions;
3233
use Sylius\Component\Core\Repository\OrderRepositoryInterface;
3334
use Sylius\Component\Customer\Model\CustomerInterface;
3435
use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;

src/Sylius/Behat/Page/Shop/Cart/SummaryPage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ protected function getDefinedElements(): array
231231
'cart_total' => '[data-test-cart-total]',
232232
'clear_button' => '[data-test-cart-clear-button]',
233233
'coupon_field' => '[data-test-cart-promotion-coupon-input]',
234+
'delete_button' => '[data-test-cart-remove-button="%name%"]',
234235
'flash_message' => '[data-test-flash-message]',
235236
'grand_total' => '[data-test-cart-grand-total]',
236237
'item_image' => '[data-test-cart-item="%number%"] [data-test-main-image]',
@@ -243,7 +244,6 @@ protected function getDefinedElements(): array
243244
'promotion_coupon_validation_message' => '[data-test-cart-promotion-coupon] [data-test-validation-error]',
244245
'promotion_total' => '[data-test-cart-promotion-total]',
245246
'save_button' => '[data-test-apply-coupon-button]',
246-
'delete_button' => '[data-test-cart-remove-button="%name%"]',
247247
'shipping_total' => '[data-test-cart-shipping-total]',
248248
'tax_excluded' => '[data-test-cart-tax-exluded]',
249249
'tax_included' => '[data-test-cart-tax-included]',

0 commit comments

Comments
 (0)