File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
app/code/Magento/Sales/Test/Mftf Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
11
<actionGroup name =" AdminUnassignOrderStatusActionGroup" >
12
12
<annotations >
13
- <description >Unassign order status from order state</description >
13
+ <description >Unassigns order status from order state</description >
14
14
</annotations >
15
- <arguments >
16
- <argument name =" message" type =" string" />
17
- </arguments >
18
15
<waitForElementClickable selector =" {{AdminOrderStatusGridSection.unassign}}" stepKey =" waitToClickUnassignOrderStatus" />
19
16
<click selector =" {{AdminOrderStatusGridSection.unassign}}" stepKey =" clickUnassign" />
20
17
<waitForElementVisible selector =" {{AdminMessagesSection.success}}" stepKey =" waitForSuccessMessageVisible" />
21
18
<!-- "You have unassigned the order status." Message should be displayed -->
22
- <waitForText selector =" {{AdminMessagesSection.success}}" userInput =" {{message }}" stepKey =" seeAssertOrderStatusSuccessUnassignMessage" />
19
+ <waitForText selector =" {{AdminMessagesSection.success}}" userInput =" {{OrderUnassignedStatusMessage.value }}" stepKey =" seeAssertOrderStatusSuccessUnassignMessage" />
23
20
</actionGroup >
24
21
</actionGroups >
Original file line number Diff line number Diff line change 66
66
<argument name =" statusLabel" value =" {{readyToPickup.label}}" />
67
67
<argument name =" statusCode" value =" {{readyToPickup.code}}" />
68
68
</actionGroup >
69
- <actionGroup ref =" AdminUnassignOrderStatusActionGroup" stepKey =" unassignOrderStatus" >
70
- <argument name =" message" value =" {{OrderUnassignedStatusMessage.value}}" />
71
- </actionGroup >
69
+ <actionGroup ref =" AdminUnassignOrderStatusActionGroup" stepKey =" unassignOrderStatus" />
72
70
<!-- Step 8: Verify the default status for the order status Processing -->
73
71
<actionGroup ref =" FilterOrderStatusByLabelAndCodeActionGroup" stepKey =" filterStatusForOrderInGrid" >
74
72
<argument name =" statusLabel" value =" {{OrderStatus.processing}}" />
You can’t perform that action at this time.
0 commit comments