Skip to content

Commit 68ae1f8

Browse files
committed
ACQE-8463:Admin cannot handle order placement when payment methods are not available
- Resolved dependency issue by adding that action group in sales module
1 parent b7d7b3c commit 68ae1f8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Sales/Test/Mftf/Test/AdminOrderPlacementWithPaymentMethodConstraintsTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</createData>
2828
<createData entity="Simple_US_Customer_CA" stepKey="simpleCustomer"/>
2929
<!-- Step 1&2: Disable payment method one of "Check/Money Order" and "Zero Subtotal Checkout" -->
30-
<magentoCLI command="config:set {{DisableCheckMoneyOrderPaymentMethod.path}} {{DisableCheckMoneyOrderPaymentMethod.value}}" stepKey="disableCheckMoneyOrderPaymentMethod"/>
30+
<actionGroup ref="CliDisableCheckMoneyOrderPaymentMethodActionGroup" stepKey="disabledCheckMoneyOrderValue"/>
3131
<magentoCLI command="config:set {{DisableZeroSubtotalCheckoutConfigData.path}} {{DisableZeroSubtotalCheckoutConfigData.value}}" stepKey="disabledZeroSubtotalCheckoutOrderValue"/>
3232
<!-- Step 3: Enable CashOnDelivery -->
3333
<createData entity="CashOnDeliveryPaymentMethodDefault" stepKey="enableCashOnDeliveryPaymentMethod"/>

app/code/Magento/Sales/Test/Mftf/test-dependency-allowlist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ AdminSetProductQuantityToEachSkusConfigurableProductActionGroup
1717
AdminConfigurableProductFormSection
1818
StorefrontSelectCheckMoneyOrderActionGroup
1919
StorefrontSalesOrderSection
20+
CliDisableCheckMoneyOrderPaymentMethodActionGroup

0 commit comments

Comments
 (0)