Skip to content

Commit dbeee37

Browse files
committed
Removed CliCacheFlushActionGroup usage for Sales, SalesRule, Search, Shipping and Store modules
1 parent ad0ba79 commit dbeee37

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
@@ -97,9 +97,7 @@
9797
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
9898
<argument name="indices" value=""/>
9999
</actionGroup>
100-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
101-
<argument name="tags" value=""/>
102-
</actionGroup>
100+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
103101
</before>
104102
<after>
105103
<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
@@ -38,9 +38,7 @@
3838
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
3939
<argument name="indices" value=""/>
4040
</actionGroup>
41-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
42-
<argument name="tags" value=""/>
43-
</actionGroup>
41+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4442
</before>
4543
<after>
4644
<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
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
3330
<argument name="indices" value=""/>
3431
</actionGroup>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@
7878
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
7979
<argument name="indices" value=""/>
8080
</actionGroup>
81-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
82-
<argument name="tags" value=""/>
83-
</actionGroup>
81+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
8482
</before>
8583
<after>
8684
<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
@@ -93,9 +93,7 @@
9393
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
9494
<argument name="indices" value=""/>
9595
</actionGroup>
96-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
97-
<argument name="tags" value=""/>
98-
</actionGroup>
96+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
9997
</before>
10098
<after>
10199
<!-- 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
@@ -170,9 +170,7 @@
170170
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
171171
<argument name="indices" value=""/>
172172
</actionGroup>
173-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
174-
<argument name="tags" value=""/>
175-
</actionGroup>
173+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
176174

177175
<!-- Place order with options according to dataset -->
178176
<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"/>

app/code/Magento/SalesRule/Test/Mftf/Test/StorefrontCartTotalValueWithFullDiscountUsingCartRuleTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@
5959
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
6060
<argument name="indices" value=""/>
6161
</actionGroup>
62-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
63-
<argument name="tags" value=""/>
64-
</actionGroup>
62+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
6563
</before>
6664
<after>
6765
<!-- Removed created Data -->

app/code/Magento/Search/Test/Mftf/Test/StorefrontVerifySearchSuggestionByControlButtonsTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
3030
<argument name="indices" value=""/>
3131
</actionGroup>
32-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
33-
<argument name="tags" value=""/>
34-
</actionGroup>
32+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3533
</before>
3634
<after>
3735
<!-- Delete create product -->

app/code/Magento/Search/Test/Mftf/Test/StorefrontVerifySearchSuggestionByProductDescriptionTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
2828
<argument name="indices" value=""/>
2929
</actionGroup>
30-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
31-
<argument name="tags" value=""/>
32-
</actionGroup>
30+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3331
</before>
3432
<after>
3533
<!-- Delete created product -->

app/code/Magento/Search/Test/Mftf/Test/StorefrontVerifySearchSuggestionByProductNameTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
3030
<argument name="indices" value=""/>
3131
</actionGroup>
32-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
33-
<argument name="tags" value=""/>
34-
</actionGroup>
32+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3533
</before>
3634
<after>
3735
<!-- Delete create product -->

app/code/Magento/Search/Test/Mftf/Test/StorefrontVerifySearchSuggestionByProductShortDescriptionTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
3030
<argument name="indices" value=""/>
3131
</actionGroup>
32-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
33-
<argument name="tags" value=""/>
34-
</actionGroup>
32+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3533
</before>
3634
<after>
3735

app/code/Magento/Search/Test/Mftf/Test/StorefrontVerifySearchSuggestionByProductSkuTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
3030
<argument name="indices" value=""/>
3131
</actionGroup>
32-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
33-
<argument name="tags" value=""/>
34-
</actionGroup>
32+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3533
</before>
3634
<after>
3735

app/code/Magento/Shipping/Test/Mftf/Test/AdminCreateOrderCustomStoreShippingMethodTableRatesTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@
6464
<argument name="file" value="usa_tablerates.csv"/>
6565
</actionGroup>
6666
<actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfig"/>
67-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
68-
<argument name="tags" value=""/>
69-
</actionGroup>
67+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
7068
</before>
7169
<after>
7270
<!--Delete created data-->

app/code/Magento/Store/Test/Mftf/Test/StorefrontCheckSortOrderStoreViewTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@
4141
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
4242
<argument name="indices" value=""/>
4343
</actionGroup>
44-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
45-
<argument name="tags" value=""/>
46-
</actionGroup>
44+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4745
</after>
4846
<actionGroup ref="AdminCreateStoreViewFillSortOrderActionGroup" stepKey="createFirstStoreView">
4947
<argument name="StoreGroup" value="customStoreGroup"/>

0 commit comments

Comments
 (0)