Skip to content

Commit 3f9e0ce

Browse files
committed
ACQE-8463:Admin cannot handle order placement when payment methods are not available
- Resolved console log error issue
1 parent 68ae1f8 commit 3f9e0ce

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
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-
<actionGroup ref="CliDisableCheckMoneyOrderPaymentMethodActionGroup" stepKey="disabledCheckMoneyOrderValue"/>
30+
<magentoCLI command="config:set payment/checkmo/active 0" 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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ AdminSetProductQuantityToEachSkusConfigurableProductActionGroup
1717
AdminConfigurableProductFormSection
1818
StorefrontSelectCheckMoneyOrderActionGroup
1919
StorefrontSalesOrderSection
20-
CliDisableCheckMoneyOrderPaymentMethodActionGroup

0 commit comments

Comments
 (0)