File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
app/code/Meta/Sales/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <!--
3
- /**
4
- * Copyright © Magento, Inc. All rights reserved.
5
- * See COPYING.txt for license details.
6
- */
7
- -->
8
2
9
3
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
4
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
5
<actionGroup name =" AdminOrderClickSubmitOrderActionGroup" >
12
- <annotations >
13
- <description >Click "Submit Order" button for order.</description >
14
- </annotations >
15
-
16
- <click selector =" {{AdminOrderFormActionSection.SubmitOrder}}" stepKey =" clickSubmitOrder" />
17
- <waitForPageLoad stepKey =" waitForOrderPageToLoad" />
6
+ <conditionalClick
7
+ selector =" {{AdminOrderFormPaymentSection.linkPaymentOptions}}"
8
+ dependentSelector =" {{AdminOrderFormPaymentSection.linkPaymentOptions}}"
9
+ visible =" true"
10
+ stepKey =" showPaymentOptions"
11
+ before =" clickSubmitOrder"
12
+ />
13
+ <waitForElementVisible selector =" {{AdminOrderFormPaymentSection.checkMoneyOption}}" stepKey =" waitForPaymentOptions" after =" showPaymentOptions" />
14
+ <selectOption selector =" {{AdminOrderFormPaymentSection.checkMoneyOption}}" userInput =" {{PaymentMethodCheckMoneyOrder.method}}" stepKey =" checkCheckMoneyOrder" after =" waitForPaymentOptions" />
15
+ <waitForPageLoad stepKey =" waitForPaymentMethodSelected" after =" checkCheckMoneyOrder" />
18
16
</actionGroup >
19
17
</actionGroups >
You can’t perform that action at this time.
0 commit comments