Skip to content

Commit 97927cd

Browse files
committed
Reusing existing ActionGroup for selecting the cash on delivery method
1 parent 2ea8501 commit 97927cd

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

app/code/Magento/Payment/Test/Mftf/ActionGroup/AdminSelectPaymentMethodActionGroup.xml

Lines changed: 0 additions & 20 deletions
This file was deleted.

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@
3434
<argument name="product" value="$$simpleProduct$$"/>
3535
<argument name="productQty" value="25"/>
3636
</actionGroup>
37-
<actionGroup ref="AdminSelectPaymentMethodActionGroup" stepKey="selectPaymentMethod">
38-
<argument name="paymentMethod" value="{{AdminOrderFormPaymentSection.checkCashOnDelivery}}"/>
39-
<argument name="paymentTitle" value="$$cashOnDeliveryPaymentMethod.title$$"/>
40-
</actionGroup>
37+
<actionGroup ref="SelectCashOnDeliveryPaymentMethodActionGroup" stepKey="selectPaymentMethod" />
4138
<actionGroup ref="orderSelectFlatRateShipping" stepKey="orderSelectFlatRateShippingMethod"/>
4239
<actionGroup ref="AdminSubmitOrderActionGroup" stepKey="submitOrder"/>
4340
<actionGroup ref="verifyCreatedOrderInformation" stepKey="verifyCreatedOrderInformation"/>

0 commit comments

Comments
 (0)