|
45 | 45 | <magentoCLI command="config:set {{EnableFreeOrderStatusPending.path}} {{EnableFreeOrderStatusPending.value}}" stepKey="disablePaymentMethodsSettingConfig"/>
|
46 | 46 | <magentoCLI command="config:set {{EnableFreeOrderPaymentAutomaticInvoiceAction.path}} {{EnableFreeOrderPaymentAutomaticInvoiceAction.value}}" stepKey="enableFreeOrderPaymentAutomaticInvoiceAction"/>
|
47 | 47 | <actionGroup ref="CliDisableFreeShippingMethodActionGroup" stepKey="disableFreeShippingConfig"/>
|
| 48 | + <!-- Unassign order status --> |
| 49 | + <actionGroup ref="AdminGoToOrderStatusPageActionGroup" stepKey="goToOrderStatus"/> |
| 50 | + <actionGroup ref="FilterOrderStatusByLabelAndCodeActionGroup" stepKey="filterStatusGrid"> |
| 51 | + <argument name="statusLabel" value="{{defaultOrderStatus.label}}"/> |
| 52 | + <argument name="statusCode" value="{{defaultOrderStatus.status}}"/> |
| 53 | + </actionGroup> |
| 54 | + <click selector="{{AdminOrderStatusGridSection.unassign}}" stepKey="unassignOrderStatus"/> |
| 55 | + <waitForPageLoad stepKey="waitForGridLoad"/> |
| 56 | + |
48 | 57 | <deleteData createDataKey="simplecategory" stepKey="deleteCategory"/>
|
49 | 58 | <deleteData createDataKey="simpleproduct" stepKey="deleteProduct"/>
|
50 | 59 | <deleteData createDataKey="createCartPriceRule" stepKey="deleteSalesRule"/>
|
|
79 | 88 | <!-- Assign status to state -->
|
80 | 89 | <click selector="{{AdminOrderStatusGridSection.assignStatusToStateBtn}}" stepKey="clickAssignStatusBtn"/>
|
81 | 90 | <selectOption selector="{{AdminAssignOrderStatusToStateSection.orderStatus}}" userInput="{{defaultOrderStatus.label}}" stepKey="selectOrderStatus"/>
|
| 91 | + <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear1"/> |
82 | 92 | <selectOption selector="{{AdminAssignOrderStatusToStateSection.orderState}}" userInput="{{OrderState.new}}" stepKey="selectOrderState"/>
|
| 93 | + <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear2"/> |
83 | 94 | <checkOption selector="{{AdminAssignOrderStatusToStateSection.orderStatusAsDefault}}" stepKey="orderStatusAsDefault"/>
|
84 | 95 | <uncheckOption selector="{{AdminAssignOrderStatusToStateSection.visibleOnStorefront}}" stepKey="visibleOnStorefront"/>
|
85 | 96 | <click selector="{{AdminAssignOrderStatusToStateSection.saveStatusAssignment}}" stepKey="clickSaveStatus"/>
|
|
0 commit comments