File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
Multishipping/Test/Mftf/Test
Sales/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 93
93
<argument name =" orderId" value =" {$getFirstOrderIdPlaceOrder}" />
94
94
</actionGroup >
95
95
<!-- Check status -->
96
- <see selector = " {{AdminOrderDetailsInformationSection.orderStatus}} " userInput = " Pending " stepKey =" seeFirstOrderPendingStatus" />
96
+ <actionGroup ref = " AdminOrderViewCheckStatusActionGroup " stepKey =" seeFirstOrderPendingStatus" />
97
97
<actionGroup ref =" AdminSalesOrderActionGroup" stepKey =" validateOrderTotalsForFirstOrder" />
98
98
<!-- Go to order page -->
99
99
<actionGroup ref =" OpenOrderByIdActionGroup" stepKey =" openSecondOrderPage" >
100
100
<argument name =" orderId" value =" {$getSecondOrderIdPlaceOrder}" />
101
101
</actionGroup >
102
102
<!-- Check status -->
103
- <see selector = " {{AdminOrderDetailsInformationSection.orderStatus}} " userInput = " Pending " stepKey =" seeSecondOrderPendingStatus" />
103
+ <actionGroup ref = " AdminOrderViewCheckStatusActionGroup " stepKey =" seeSecondOrderPendingStatus" />
104
104
<actionGroup ref =" AdminSalesOrderActionGroup" stepKey =" validateOrderTotalsForSecondOrder" />
105
105
</test >
106
106
</tests >
Original file line number Diff line number Diff line change
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
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminOrderViewCheckStatusActionGroup" >
12
+ <annotations >
13
+ <description >Check order status on order view page.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" status" type =" string" defaultValue =" Pending" />
17
+ </arguments >
18
+
19
+ <see selector =" {{AdminOrderDetailsInformationSection.orderStatus}}" userInput =" {{status}}" stepKey =" seeOrderStatus" />
20
+ </actionGroup >
21
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments