Skip to content

Commit 300287e

Browse files
ENGCOM-8721: Removed CliCacheFlushActionGroup usage for Sales module #31936
2 parents 109676e + 73dacbf commit 300287e

18 files changed

+22
-67
lines changed

app/code/Magento/Sales/Test/Mftf/Test/AdminAvailabilityCreditMemoWithNoPaymentTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
</createData>
2626
<!-- Enable *Free Shipping* -->
2727
<createData entity="FreeShippingMethodsSettingConfig" stepKey="freeShippingMethodsSettingConfig"/>
28-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
29-
<argument name="tags" value=""/>
30-
</actionGroup>
28+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3129
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
3230
</before>
3331
<after>
@@ -39,9 +37,7 @@
3937
<actionGroup ref="AdminDeleteCustomerActionGroup" stepKey="deleteCustomer">
4038
<argument name="customerEmail" value="Simple_US_Customer.email"/>
4139
</actionGroup>
42-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
43-
<argument name="tags" value=""/>
44-
</actionGroup>
40+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4541
<actionGroup ref="AdminLogoutActionGroup" stepKey="logOut"/>
4642
</after>
4743

app/code/Magento/Sales/Test/Mftf/Test/AdminCancelTheCreatedOrderWithCheckMoneyOrderPaymentMethodTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@
9595
<requiredEntity createDataKey="createConfigChildProduct1"/>
9696
</createData>
9797
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
98-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
99-
<argument name="tags" value=""/>
100-
</actionGroup>
98+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
10199
</before>
102100
<after>
103101
<deleteData createDataKey="simpleCustomer" stepKey="deleteSimpleCustomer"/>

app/code/Magento/Sales/Test/Mftf/Test/AdminCancelTheCreatedOrderWithPurchaseOrderPaymentMethodTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
<field key="price">10.00</field>
3737
</createData>
3838
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
39-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
40-
<argument name="tags" value=""/>
41-
</actionGroup>
39+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4240
</before>
4341
<after>
4442
<magentoCLI command="config:set {{DisablePurchaseOrderConfigData.path}} {{DisablePurchaseOrderConfigData.value}}" stepKey="disablePurchaseOrderPayment"/>

app/code/Magento/Sales/Test/Mftf/Test/AdminCreateOrderWithCustomerWithoutEmailTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
<requiredEntity createDataKey="category"/>
2525
</createData>
2626
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
27-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
28-
<argument name="tags" value=""/>
29-
</actionGroup>
27+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3028
</before>
3129
<after>
3230
<!--Clean up created test data.-->
@@ -35,9 +33,7 @@
3533
<!--Enable required 'email' field on create order page.-->
3634
<magentoCLI command="config:set {{EnableEmailRequiredForOrder.path}} {{EnableEmailRequiredForOrder.value}}" stepKey="enableRequiredFieldEmailForAdminOrderCreation"/>
3735
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
38-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
39-
<argument name="tags" value=""/>
40-
</actionGroup>
36+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4137
</after>
4238

4339
<!--Create order.-->

app/code/Magento/Sales/Test/Mftf/Test/AdminFreeShippingNotAvailableIfMinimumOrderAmountNotMatchOrderTotalTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
<createData entity="FreeShippinMethodConfig" stepKey="enableFreeShippingMethod"/>
2929
<createData entity="setFreeShippingSubtotal" stepKey="setFreeShippingSubtotal"/>
3030
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
31-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
32-
<argument name="tags" value=""/>
33-
</actionGroup>
31+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3432
</before>
3533
<after>
3634
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
@@ -40,9 +38,7 @@
4038
<createData entity="FreeShippinMethodDefault" stepKey="disableFreeShippingMethod"/>
4139
<createData entity="setFreeShippingSubtotalToDefault" stepKey="setFreeShippingSubtotalToDefault"/>
4240
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
43-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
44-
<argument name="tags" value=""/>
45-
</actionGroup>
41+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4642
</after>
4743
<!--Create new order with existing customer-->
4844
<actionGroup ref="NavigateToNewOrderPageExistingCustomerActionGroup" stepKey="goToCreateOrderPage">

app/code/Magento/Sales/Test/Mftf/Test/AdminReorderWithCatalogPriceRuleDiscountTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
<createData entity="SimpleProduct2" stepKey="createSimpleProductApi"/>
2626
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2727
<actionGroup ref="AdminCatalogPriceRuleDeleteAllActionGroup" stepKey="deleteAllCatalogPriceRule"/>
28-
<!-- Clearing cache just in case -->
29-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
30-
<argument name="tags" value=""/>
31-
</actionGroup>
28+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3229
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
3330
<amOnPage url="{{AdminCatalogPriceRuleGridPage.url}}" stepKey="goToAdminCatalogPriceRuleGridPage2"/>
3431
<!-- It sometimes is loading too long for default 10s -->

app/code/Magento/Sales/Test/Mftf/Test/CreateOrderFromEditCustomerPageTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@
7676
<requiredEntity createDataKey="createConfigChildProduct1"/>
7777
</createData>
7878
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
79-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
80-
<argument name="tags" value=""/>
81-
</actionGroup>
79+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
8280
</before>
8381
<after>
8482
<createData entity="DisableFreeShippingConfig" stepKey="disableFreeShippingConfig"/>

app/code/Magento/Sales/Test/Mftf/Test/StorefrontOrderPagerDisplayedTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@
9090
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>
9191

9292
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
93-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
94-
<argument name="tags" value=""/>
95-
</actionGroup>
93+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
9694
</before>
9795
<after>
9896
<!-- Delete category and products -->

app/code/Magento/Sales/Test/Mftf/Test/StorefrontPrintOrderGuestTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@
167167
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
168168
<argument name="indices" value=""/>
169169
</actionGroup>
170-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
171-
<argument name="tags" value=""/>
172-
</actionGroup>
170+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
173171

174172
<!-- Place order with options according to dataset -->
175173
<actionGroup ref="NavigateToNewOrderPageExistingCustomerActionGroup" stepKey="newOrder">

app/code/Magento/Sales/Test/Mftf/Test/StorefrontVerifySecureURLRedirectSalesTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,11 @@
2828
<executeJS function="return window.location.host" stepKey="hostname"/>
2929
<magentoCLI command="config:set web/secure/base_url https://{$hostname}/" stepKey="setSecureBaseURL"/>
3030
<magentoCLI command="config:set web/secure/use_in_frontend 1" stepKey="useSecureURLsOnStorefront"/>
31-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
32-
<argument name="tags" value=""/>
33-
</actionGroup>
31+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3432
</before>
3533
<after>
3634
<magentoCLI command="config:set web/secure/use_in_frontend 0" stepKey="dontUseSecureURLsOnStorefront"/>
37-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
38-
<argument name="tags" value=""/>
39-
</actionGroup>
35+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4036
<deleteData createDataKey="customer" stepKey="deleteCustomer"/>
4137
</after>
4238
<executeJS function="return window.location.host" stepKey="hostname"/>

0 commit comments

Comments
 (0)