Skip to content

Commit c6dad9d

Browse files
committed
Removed CliCacheFlushActionGroup usage for ConfigurableProduct, CatalogUrlRewrite, Config, Contact and Cookie modules
1 parent 5e57ddd commit c6dad9d

18 files changed

+24
-82
lines changed

app/code/Magento/CatalogUrlRewrite/Test/Mftf/Test/AdminRewriteProductWithTwoStoreTest.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@
1717

1818
<before>
1919
<magentoCLI command="config:set {{EnableCategoriesPathProductUrls.path}} {{EnableCategoriesPathProductUrls.value}}" stepKey="enableUseCategoriesPath"/>
20-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
21-
<argument name="tags" value=""/>
22-
</actionGroup>
23-
20+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
2421
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2522
<actionGroup ref="AdminCreateStoreViewActionGroup" stepKey="createStoreView" />
2623
<createData entity="_defaultCategoryDifferentUrlStore" stepKey="defaultCategory"/>
@@ -38,9 +35,7 @@
3835
<deleteData createDataKey="simpleProduct" stepKey="deleteSimpleProduct"/>
3936
<deleteData createDataKey="defaultCategory" stepKey="deleteNewRootCategory"/>
4037
<magentoCLI command="config:set {{DisableCategoriesPathProductUrls.path}} {{DisableCategoriesPathProductUrls.value}}" stepKey="disableUseCategoriesPath"/>
41-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
42-
<argument name="tags" value=""/>
43-
</actionGroup>
38+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4439
</after>
4540

4641
<actionGroup ref="NavigateToCreatedCategoryActionGroup" stepKey="navigateToCreatedDefaultCategory">

app/code/Magento/CatalogUrlRewrite/Test/Mftf/Test/StorefrontCategoryAccessibleWhenSuffixIsNullTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
<magentoCLI command="config:set catalog/seo/category_url_suffix ''" stepKey="setCategoryUrlSuffix"/>
2222
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 0"
2323
stepKey="setCategoryProductRewrites"/>
24-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheBefore">
25-
<argument name="tags" value=""/>
26-
</actionGroup>
24+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheBefore"/>
2725
<createData entity="_defaultCategory" stepKey="createCategory"/>
2826
</before>
2927
<after>
@@ -32,9 +30,7 @@
3230
stepKey="restoreCategoryUrlSuffix"/>
3331
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1"
3432
stepKey="restoreCategoryProductRewrites"/>
35-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfter">
36-
<argument name="tags" value=""/>
37-
</actionGroup>
33+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAftere"/>
3834
</after>
3935

4036
<amOnPage url="/$$createCategory.name$$" stepKey="onCategoryPage"/>

app/code/Magento/CatalogUrlRewrite/Test/Mftf/Test/StorefrontCategoryUrlRewriteDifferentStoreTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@
3232
</actionGroup>
3333

3434
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="indexerReindexAfterCreate"/>
35-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheBefore">
36-
<argument name="tags" value=""/>
37-
</actionGroup>
35+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheBefore"/>
3836
</before>
3937
<after>
4038
<magentoCLI command="config:set catalog/seo/product_use_categories 0" stepKey="setEnableUseCategoriesPath"/>

app/code/Magento/Config/Test/Mftf/Test/CheckingCountryDropDownWithOneAllowedCountryTest.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
<createData entity="EnableAdminAccountAllowCountry" stepKey="setAllowedCountries"/>
2323
</before>
2424
<after>
25-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
26-
<argument name="tags" value=""/>
27-
</actionGroup>
25+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
2826
<createData entity="DisableAdminAccountAllowCountry" stepKey="setDefaultValueForAllowCountries"/>
2927
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
3028
<actionGroup ref="AdminDeleteCustomerActionGroup" stepKey="deleteCustomer">
@@ -34,10 +32,7 @@
3432
<waitForPageLoad stepKey="WaitForPageToLoad"/>
3533
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
3634
</after>
37-
<!--Flush Magento Cache-->
38-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
39-
<argument name="tags" value=""/>
40-
</actionGroup>
35+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4136
<!--Create a customer account from Storefront-->
4237
<actionGroup ref="StorefrontOpenCustomerAccountCreatePageActionGroup" stepKey="openCreateAccountPage"/>
4338
<actionGroup ref="StorefrontFillCustomerAccountCreationFormActionGroup" stepKey="fillCreateAccountForm">

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCreateConfigurableProductWithCreatingCategoryAndAttributeTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,7 @@
9898
<argument name="product" value="ApiConfigurableProduct"/>
9999
</actionGroup>
100100

101-
<!-- Flash cache -->
102-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
103-
<argument name="tags" value=""/>
104-
</actionGroup>
101+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
105102

106103
<!--Assert configurable product in category -->
107104
<amOnPage url="$$createCategory.name$$.html" stepKey="amOnCategoryPage"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCreateConfigurableProductWithDisabledChildrenProductsTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,7 @@
107107
<!-- Display out of stock product -->
108108
<actionGroup ref="DisplayOutOfStockProductActionGroup" stepKey="displayOutOfStockProduct"/>
109109

110-
<!-- Flash cache -->
111-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
112-
<argument name="tags" value=""/>
113-
</actionGroup>
110+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
114111

115112
<!-- Assert configurable product is not present in category -->
116113
<amOnPage url="$$createCategory.name$$.html" stepKey="amOnCategoryPage"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCreateConfigurableProductWithThreeProductDisplayOutOfStockProductsTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,7 @@
123123
<!-- Display out of stock product -->
124124
<actionGroup ref="DisplayOutOfStockProductActionGroup" stepKey="displayOutOfStockProduct"/>
125125

126-
<!-- Flash cache -->
127-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
128-
<argument name="tags" value=""/>
129-
</actionGroup>
126+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
130127

131128
<!--Assert configurable product in category -->
132129
<amOnPage url="$$createCategory.name$$.html" stepKey="amOnCategoryPage"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCreateConfigurableProductWithThreeProductDontDisplayOutOfStockProductsTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,7 @@
119119
<!-- Save configurable product -->
120120
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveConfigurableProduct"/>
121121

122-
<!-- Flash cache -->
123-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
124-
<argument name="tags" value=""/>
125-
</actionGroup>
122+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
126123

127124
<!--Assert configurable product in category -->
128125
<amOnPage url="$$createCategory.name$$.html" stepKey="amOnCategoryPage"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCreateConfigurableProductWithTwoOptionsAssignedToCategoryTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,7 @@
108108
</actionGroup>
109109
<click selector="{{AdminProductGridFilterSection.clearFilters}}" stepKey="clickClearFiltersAfter"/>
110110

111-
<!-- Flash cache -->
112-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
113-
<argument name="tags" value=""/>
114-
</actionGroup>
111+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
115112

116113
<!--Assert configurable product in category -->
117114
<amOnPage url="$$createCategory.name$$.html" stepKey="amOnCategoryPage"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCreateConfigurableProductWithTwoOptionsWithoutAssignedToCategoryTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,7 @@
9898
</actionGroup>
9999
<click selector="{{AdminProductGridFilterSection.clearFilters}}" stepKey="clickClearFiltersAfter"/>
100100

101-
<!-- Flash cache -->
102-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
103-
<argument name="tags" value=""/>
104-
</actionGroup>
101+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
105102

106103
<!-- Assert configurable product on product page -->
107104
<amOnPage url="{{ApiConfigurableProduct.urlKey}}.html" stepKey="amOnProductPage"/>

0 commit comments

Comments
 (0)