|
71 | 71 | <argument name="freeShippingOption" value="{{CartPriceRuleFreeShippingWithCouponAppliedOnly.simple_free_shipping}}"/> |
72 | 72 | </actionGroup> |
73 | 73 | <actionGroup ref="AdminCartPriceRuleSaveActionGroup" stepKey="saveCartPriceRule"/> |
| 74 | + <actionGroup ref="AdminLogoutActionGroup" stepKey="logoutAsAdmin"/> |
74 | 75 | </before> |
75 | 76 | <after> |
| 77 | + <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin2"/> |
76 | 78 |
|
77 | 79 | <!-- Delete product --> |
78 | 80 | <deleteData createDataKey="createProduct" stepKey="deleteProduct"/> |
79 | 81 |
|
80 | 82 | <!-- Delete cart price rule for free shipping --> |
81 | 83 | <actionGroup ref="AdminCartPriceRuleDeleteAllActionGroup" stepKey="deleteAllCartPriceRules"/> |
| 84 | + |
| 85 | + <!-- Disable free shipping method --> |
82 | 86 | <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPage2"/> |
| 87 | + <createData entity="FreeShippinMethodDefault" stepKey="disableFreeShippingMethod"/> |
| 88 | + <createData entity="setFreeShippingSubtotalToDefault" stepKey="setFreeShippingSubtotalToDefault"/> |
| 89 | + |
| 90 | + <!-- Turn off table rates shipping method --> |
83 | 91 | <actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="switchDefaultWebsite2"> |
84 | 92 | <argument name="website" value="_defaultWebsite"/> |
85 | 93 | </actionGroup> |
86 | | - |
87 | | - <!-- Turn off table rates shipping method --> |
88 | 94 | <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="disableTableRatesShippingMethodForDefaultWebsite"> |
89 | 95 | <argument name="status" value="0"/> |
90 | 96 | </actionGroup> |
91 | 97 | <checkOption selector="{{AdminShippingMethodTableRatesSection.carriersTableRateConditionName}}" stepKey="disableUseDefaultCondition"/> |
92 | 98 | <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfig2"/> |
93 | 99 |
|
94 | | - <!-- Disable free shipping method --> |
95 | | - <createData entity="FreeShippinMethodDefault" stepKey="disableFreeShippingMethod"/> |
96 | | - <createData entity="setFreeShippingSubtotalToDefault" stepKey="setFreeShippingSubtotalToDefault"/> |
97 | | - |
98 | | - <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
| 100 | + <actionGroup ref="AdminLogoutActionGroup" stepKey="logout2"/> |
99 | 101 | </after> |
100 | 102 |
|
101 | 103 | <!-- Add product to cart and check shipping prices --> |
|
0 commit comments