Skip to content

Commit d1ceb74

Browse files
ENGCOM-8795: Removed CliCacheFlushActionGroup usage for Wishlist module #31961
2 parents 9362157 + 187939a commit d1ceb74

17 files changed

+32
-101
lines changed

app/code/Magento/Swatches/Test/Mftf/Test/AdminDisablingSwatchTooltipsTest.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@
4343

4444
<!-- Enable swatch tooltips -->
4545
<magentoCLI command="config:set catalog/frontend/show_swatch_tooltip 1" stepKey="disableTooltips"/>
46-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterEnabling">
47-
<argument name="tags" value=""/>
48-
</actionGroup>
46+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterEnabling"/>
4947
</after>
5048

5149
<!-- Go to the edit page for the "color" attribute -->
@@ -150,7 +148,7 @@
150148
<!-- Disable swatch tooltips -->
151149
<magentoCLI command="config:set catalog/frontend/show_swatch_tooltip 0" stepKey="disableTooltips"/>
152150
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterDisabling">
153-
<argument name="tags" value=""/>
151+
<argument name="tags" value="config full_page"/>
154152
</actionGroup>
155153

156154
<!-- Verify swatch tooltips are not visible -->

app/code/Magento/Swatches/Test/Mftf/Test/StorefrontImageColorWhenFilterByColorFilterTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@
7171
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProductForm"/>
7272

7373
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
74-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
75-
<argument name="tags" value=""/>
76-
</actionGroup>
74+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
7775

7876
<!--Select any option in the Layered navigation and verify product image-->
7977
<amOnPage url="{{StorefrontCategoryPage.url($$createCategory.name$$)}}" stepKey="navigateToCategoryPage"/>

app/code/Magento/Translation/Test/Mftf/Test/StorefrontInlineTranslationOnCheckoutTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116

117117
<!-- 2. Refresh magento cache -->
118118
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterTranslateEnabled">
119-
<argument name="tags" value=""/>
119+
<argument name="tags" value="translate full_page"/>
120120
</actionGroup>
121121

122122
<!-- 3. Go to storefront and click on cart button on the top -->
@@ -479,7 +479,7 @@
479479
<magentoCLI command="config:set {{DisableTranslateInlineForStorefront.path}} {{DisableTranslateInlineForStorefront.value}}" stepKey="disableTranslateInlineForStorefront"/>
480480
<!-- 8. Clear magento cache -->
481481
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterTranslateDisabled">
482-
<argument name="tags" value=""/>
482+
<argument name="tags" value="translate full_page"/>
483483
</actionGroup>
484484

485485
<magentoCLI command="setup:static-content:deploy -f" stepKey="deployStaticContent"/>

app/code/Magento/UrlRewrite/Test/Mftf/Test/AdminCheckUrlRewritesCorrectlyGeneratedForMultipleStoreviewsDuringProductImportTest/AdminUrlRewriteMultipleStoreviewsProductImportWithConfigTurnedOffTest.xml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@
2121
<!-- Set the configuration for Generate "category/product" URL Rewrites to Yes (default)-->
2222
<comment userInput="Enable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentEnableUrlRewriteConfig"/>
2323
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
24-
<!--Flush cache-->
25-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterEnableConfig">
26-
<argument name="tags" value=""/>
27-
</actionGroup>
24+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterEnableConfig"/>
2825
<createData entity="ApiCategory" stepKey="createCategory">
2926
<field key="name">category-admin</field>
3027
</createData>
@@ -40,10 +37,7 @@
4037
<!-- Set the configuration for Generate "category/product" URL Rewrites to No-->
4138
<comment userInput="Disable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentDisableUrlRewriteConfig"/>
4239
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 0" stepKey="disableGenerateUrlRewrite"/>
43-
<!--Flush cache-->
44-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterDisableConfig">
45-
<argument name="tags" value=""/>
46-
</actionGroup>
40+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterDisableConfig"/>
4741
</before>
4842
<after>
4943
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
@@ -61,10 +55,7 @@
6155
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearFiltersIfSet"/>
6256
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
6357
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="resetConfigurationSetting"/>
64-
<!--Flush cache-->
65-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
66-
<argument name="tags" value=""/>
67-
</actionGroup>
58+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
6859
</after>
6960
<actionGroup ref="SwitchCategoryStoreViewActionGroup" stepKey="switchToStoreViewEn">
7061
<argument name="Store" value="customStoreENNotUnique.name"/>

app/code/Magento/UrlRewrite/Test/Mftf/Test/AdminGenerateUrlRewritesForProductInCategoriesSwitchOffTest.xml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@
2121
<!-- Set the configuration for Generate "category/product" URL Rewrites-->
2222
<comment userInput="Enable config to generate category/product URL Rewrites" stepKey="commentEnableConfig" />
2323
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
24-
<!--Flush cache-->
25-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
26-
<argument name="tags" value=""/>
27-
</actionGroup>
24+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
2825

2926
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
3027
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
@@ -39,10 +36,7 @@
3936
<!-- Set the configuration for Generate "category/product" URL Rewrites-->
4037
<comment userInput="Enable config to generate category/product URL Rewrites" stepKey="commentEnableConfig" />
4138
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
42-
<!--Flush cache-->
43-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
44-
<argument name="tags" value=""/>
45-
</actionGroup>
39+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4640

4741
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
4842
</after>
@@ -62,9 +56,7 @@
6256
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 0" stepKey="disableGenerateUrlRewrite"/>
6357

6458
<!-- 3. Flush cache-->
65-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
66-
<argument name="tags" value=""/>
67-
</actionGroup>
59+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
6860

6961
<!-- 4. Open Marketing - SEO & Search - URL Rewrites -->
7062
<actionGroup ref="AdminSearchUrlRewriteByRequestPathActionGroup" stepKey="searchingUrlRewriteAfterDisablingTheConfig">

app/code/Magento/UrlRewrite/Test/Mftf/Test/AdminUrlRewritesForProductInAnchorCategoriesTest/AdminUrlRewritesForProductInAnchorCategoriesTestWithConfigurationTurnedOffTest.xml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@
2424
<!-- Set the configuration for Generate "category/product" URL Rewrites to Yes (default)-->
2525
<comment userInput="Enable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentEnableUrlRewriteConfig"/>
2626
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
27-
<!--Flush cache-->
28-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterEnableConfig">
29-
<argument name="tags" value=""/>
30-
</actionGroup>
27+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterEnableConfig"/>
3128

3229
<createData entity="SimpleSubCategory" stepKey="simpleSubCategory1"/>
3330
<createData entity="SubCategoryWithParent" stepKey="simpleSubCategory2">
@@ -43,20 +40,14 @@
4340
<!-- Set the configuration for Generate "category/product" URL Rewrites to No-->
4441
<comment userInput="Disable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentDisableUrlRewriteConfig"/>
4542
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 0" stepKey="disableGenerateUrlRewrite"/>
46-
<!--Flush cache-->
47-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
48-
<argument name="tags" value=""/>
49-
</actionGroup>
43+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
5044
</before>
5145
<after>
5246
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
5347
<deleteData createDataKey="simpleSubCategory1" stepKey="deletesimpleSubCategory1"/>
5448
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
5549
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="resetConfigurationSetting"/>
56-
<!--Flush cache-->
57-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterDisableConfig">
58-
<argument name="tags" value=""/>
59-
</actionGroup>
50+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterDisableConfig"/>
6051
</after>
6152
<!-- Steps -->
6253
<!-- 1. Log in to Admin -->

app/code/Magento/UrlRewrite/Test/Mftf/Test/AdminUrlRewritesForProductInAnchorCategoriesTest/AdminUrlRewritesForProductsWithConfigurationTurnedOffTest.xml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@
2121
<!-- Set the configuration for Generate "category/product" URL Rewrites to Yes (default)-->
2222
<comment userInput="Enable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentEnableUrlRewriteConfig"/>
2323
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
24-
<!--Flush cache-->
25-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterEnableConfig">
26-
<argument name="tags" value=""/>
27-
</actionGroup>
24+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterEnableConfig"/>
2825
<createData entity="SimpleSubCategory" stepKey="simpleSubCategory1"/>
2926
<!-- Create Simple product 1 and assign it to Category 1 -->
3027
<createData entity="ApiSimpleProduct" stepKey="createSimpleProduct">
@@ -33,19 +30,13 @@
3330
<!-- Set the configuration for Generate "category/product" URL Rewrites to No-->
3431
<comment userInput="Disable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentDisableUrlRewriteConfig"/>
3532
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 0" stepKey="disableGenerateUrlRewrite"/>
36-
<!--Flush cache-->
37-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterDisableConfig">
38-
<argument name="tags" value=""/>
39-
</actionGroup>
33+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterDisableConfig"/>
4034
</before>
4135
<after>
4236
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
4337
<deleteData createDataKey="simpleSubCategory1" stepKey="deletesimpleSubCategory1"/>
4438
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="resetConfigurationSetting"/>
45-
<!--Flush cache-->
46-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
47-
<argument name="tags" value=""/>
48-
</actionGroup>
39+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4940
</after>
5041

5142
<!-- 1. Log in to Admin -->

app/code/Magento/Vault/Test/Mftf/Test/StorefrontVerifySecureURLRedirectVaultTest.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/Weee/Test/Mftf/Test/AdminFixedTaxValSavedForSpecificWebsiteTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@
5252
<comment userInput="Set catalog price scope to Global" stepKey="commentSetPriceScope"/>
5353
<magentoCLI command="config:set catalog/price/scope 0" stepKey="setPriceScopeGlobal"/>
5454
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
55-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
56-
<argument name="tags" value=""/>
57-
</actionGroup>
55+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
5856
</before>
5957
<after>
6058
<!--Set catalog price scope to Global-->
@@ -100,9 +98,7 @@
10098
<comment userInput="Set catalog price scope to Website" stepKey="commentSetPriceScope"/>
10199
<magentoCLI command="config:set catalog/price/scope 1" stepKey="setPriceScopeWebsite"/>
102100
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
103-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
104-
<argument name="tags" value=""/>
105-
</actionGroup>
101+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
106102
<!--See available websites only 'All Websites'-->
107103
<comment userInput="See available websites 'All Websites', 'Main Website' and Second website" stepKey="commentCheckWebsitesInProductPage"/>
108104
<actionGroup ref="AdminProductPageOpenByIdActionGroup" stepKey="goToProductPageSecondTime">

app/code/Magento/Wishlist/Test/Mftf/Test/StorefrontAddProductsToCartFromWishlistUsingSidebarTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,15 @@
2727
</createData>
2828
<createData entity="Simple_US_Customer" stepKey="customer"/>
2929
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
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
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>
3634
<deleteData createDataKey="simpleProduct2" stepKey="deleteSimpleProduct2"/>
3735
<deleteData createDataKey="categoryFirst" stepKey="deleteCategoryFirst"/>
3836
<deleteData createDataKey="categorySecond" stepKey="deleteCategorySecond"/>
3937
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
40-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
41-
<argument name="tags" value=""/>
42-
</actionGroup>
38+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4339
<deleteData createDataKey="customer" stepKey="deleteCustomer"/>
4440
</after>
4541
<!-- Sign in as customer -->

0 commit comments

Comments
 (0)