File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/code/Magento/Sales/Test/Mftf Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
-->
8
8
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
- <actionGroup name =" AssertAdminFreePaymentActionGroup " >
10
+ <actionGroup name =" AssertAdminFreePaymentMethodExistsOnCreateOrderPageActionGroup " >
11
11
<annotations >
12
12
<description >Checks the free payment on the Admin Create Order page.</description >
13
13
</annotations >
14
14
<click selector =" {{AdminOrderFormPaymentSection.linkPaymentOptions}}" stepKey =" clickPaymentMethods" />
15
- <waitForAjaxLoad stepKey =" waitForPaymentBlockLoad " />
15
+ <waitForElementVisible selector = " {{AdminOrderFormPaymentSection.freePaymentLabel}} " stepKey =" waitForPaymentLabelVisible " />
16
16
<see selector =" {{AdminOrderFormPaymentSection.freePaymentLabel}}" userInput =" No Payment Information Required" stepKey =" checkFreePaymentLabel" />
17
17
</actionGroup >
18
18
</actionGroups >
Original file line number Diff line number Diff line change 15
15
<element name =" flatRateOption" type =" radio" selector =" #s_method_flatrate_flatrate" timeout =" 30" />
16
16
<element name =" shippingError" type =" text" selector =" #order[has_shipping]-error" />
17
17
<element name =" freeShippingOption" type =" radio" selector =" #s_method_freeshipping_freeshipping" timeout =" 30" />
18
- <element name =" linkPaymentOptions" type =" button" selector =" #order-billing_method_summary>a" />
18
+ <element name =" linkPaymentOptions" type =" button" selector =" #order-billing_method_summary>a" timeout = " 30 " />
19
19
<element name =" blockPayment" type =" text" selector =" #order-billing_method" />
20
20
<element name =" checkMoneyOption" type =" radio" selector =" #p_method_checkmo" timeout =" 30" />
21
21
<element name =" checkBankTransfer" type =" radio" selector =" #p_method_banktransfer" timeout =" 30" />
You can’t perform that action at this time.
0 commit comments