|
42 | 42 | </before>
|
43 | 43 |
|
44 | 44 | <after>
|
| 45 | + <!-- Assign default pending status to state new --> |
| 46 | + <actionGroup ref="AdminOrderStatusToStateAssignActionGroup" stepKey="resetDefaultStatusToState"> |
| 47 | + <argument name="orderStatus" value="{{OrderStatus.pending}}" /> |
| 48 | + <argument name="orderState" value="{{defaultOrderStatus.label}}" /> |
| 49 | + </actionGroup> |
| 50 | + |
45 | 51 | <magentoCLI command="config:set {{EnableFreeOrderStatusPending.path}} {{EnableFreeOrderStatusPending.value}}" stepKey="disablePaymentMethodsSettingConfig"/>
|
46 | 52 | <magentoCLI command="config:set {{EnableFreeOrderPaymentAutomaticInvoiceAction.path}} {{EnableFreeOrderPaymentAutomaticInvoiceAction.value}}" stepKey="enableFreeOrderPaymentAutomaticInvoiceAction"/>
|
47 | 53 | <actionGroup ref="CliDisableFreeShippingMethodActionGroup" stepKey="disableFreeShippingConfig"/>
|
|
77 | 83 | </actionGroup>
|
78 | 84 |
|
79 | 85 | <!-- Assign status to state -->
|
80 |
| - <click selector="{{AdminOrderStatusGridSection.assignStatusToStateBtn}}" stepKey="clickAssignStatusBtn"/> |
81 |
| - <selectOption selector="{{AdminAssignOrderStatusToStateSection.orderStatus}}" userInput="{{defaultOrderStatus.label}}" stepKey="selectOrderStatus"/> |
82 |
| - <selectOption selector="{{AdminAssignOrderStatusToStateSection.orderState}}" userInput="{{OrderState.new}}" stepKey="selectOrderState"/> |
83 |
| - <checkOption selector="{{AdminAssignOrderStatusToStateSection.orderStatusAsDefault}}" stepKey="orderStatusAsDefault"/> |
84 |
| - <uncheckOption selector="{{AdminAssignOrderStatusToStateSection.visibleOnStorefront}}" stepKey="visibleOnStorefront"/> |
85 |
| - <click selector="{{AdminAssignOrderStatusToStateSection.saveStatusAssignment}}" stepKey="clickSaveStatus"/> |
86 |
| - <actionGroup ref="AssertMessageInAdminPanelActionGroup" stepKey="seeSuccess"> |
87 |
| - <argument name="message" value="You assigned the order status." /> |
| 86 | + <comment userInput="BIC workaround" stepKey="clickAssignStatusBtn"/> |
| 87 | + <comment userInput="BIC workaround" stepKey="selectOrderStatus"/> |
| 88 | + <comment userInput="BIC workaround" stepKey="selectOrderState"/> |
| 89 | + <comment userInput="BIC workaround" stepKey="orderStatusAsDefault"/> |
| 90 | + <comment userInput="BIC workaround" stepKey="visibleOnStorefront"/> |
| 91 | + <comment userInput="BIC workaround" stepKey="clickSaveStatus"/> |
| 92 | + <comment userInput="BIC workaround" stepKey="seeSuccess"/> |
| 93 | + |
| 94 | + <actionGroup ref="AdminOrderStatusToStateAssignActionGroup" stepKey="resetDefaultStatusToState"> |
| 95 | + <argument name="orderStatus" value="{{defaultOrderStatus.label}}" /> |
| 96 | + <argument name="orderState" value="{{OrderState.new}}" /> |
88 | 97 | </actionGroup>
|
89 | 98 |
|
90 | 99 | <!-- Prepare data for constraints -->
|
|
0 commit comments