File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Sales/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 27
27
</createData >
28
28
<createData entity =" Simple_US_Customer_CA" stepKey =" simpleCustomer" />
29
29
<!-- 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 {{DisableCheckMoneyOrderPaymentMethod.path}} {{DisableCheckMoneyOrderPaymentMethod.value}} " stepKey =" disableCheckMoneyOrderPaymentMethod " />
31
31
<magentoCLI command =" config:set {{DisableZeroSubtotalCheckoutConfigData.path}} {{DisableZeroSubtotalCheckoutConfigData.value}}" stepKey =" disabledZeroSubtotalCheckoutOrderValue" />
32
32
<!-- Step 3: Enable CashOnDelivery -->
33
33
<createData entity =" CashOnDeliveryPaymentMethodDefault" stepKey =" enableCashOnDeliveryPaymentMethod" />
59
59
<argument name =" productQty" value =" 1" />
60
60
</actionGroup >
61
61
<waitForElementVisible selector =" {{AdminOrderFormPaymentSection.verifyCashOnDelivery}}" stepKey =" verifyCashOnDeliveryPaymentMethodIsAvaiable" />
62
- <!-- Step 7: Add more products or increase quantity more than 100$ and check COD is not avaiable -->
62
+ <!-- Step 7: Add more products or increase quantity more than 100$ and check COD is not available -->
63
63
<actionGroup ref =" AddSimpleProductToOrderActionGroup" stepKey =" addSimpleProductAgainByChangingQuantity" >
64
64
<argument name =" product" value =" $$simpleProduct$$" />
65
65
<argument name =" productQty" value =" 11" />
69
69
<actionGroup ref =" OrderSelectFlatRateShippingActionGroup" stepKey =" orderSelectFlatRateShippingMethod" />
70
70
<actionGroup ref =" AdminCheckoutSelectCheckMoneyOrderBillingMethodActionGroup" stepKey =" selectBillingMethod" />
71
71
<actionGroup ref =" AdminOrderClickSubmitOrderActionGroup" stepKey =" submitOrder" />
72
- <waitForText selector =" {{AdminOrderFormPaymentSection.paymentErrorMessage}}" userInput =" {{AdminPaymentErrorMessage.error_Message}}" stepKey =" verifyOrderDonotPlacedAndSeeErrorMessage " />
72
+ <waitForText selector =" {{AdminOrderFormPaymentSection.paymentErrorMessage}}" userInput =" {{AdminPaymentErrorMessage.error_Message}}" stepKey =" verifyOrderDon'tPlacedAndSeeErrorMessage " />
73
73
</test >
74
74
</tests >
You can’t perform that action at this time.
0 commit comments