Skip to content

Commit 922033c

Browse files
committed
Removed CliCacheFlushActionGroup usage for Catalog module
1 parent cd857f9 commit 922033c

17 files changed

+23
-72
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AddOutOfStockProductToCompareListTest.xml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
<before>
2323
<comment userInput="Adding the comment for preserving Backward Compatibility" stepKey="loginAsAdmin"/>
2424
<magentoCLI command="config:set {{CatalogInventoryOptionsShowOutOfStockDisable.path}} {{CatalogInventoryOptionsShowOutOfStockDisable.value}}" stepKey="setConfigShowOutOfStockFalse"/>
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="SimpleSubCategory" stepKey="category"/>
2927
<createData entity="SimpleProduct4" stepKey="product">
3028
<requiredEntity createDataKey="category"/>
@@ -33,9 +31,7 @@
3331

3432
<after>
3533
<magentoCLI command="config:set {{CatalogInventoryOptionsShowOutOfStockDisable.path}} {{CatalogInventoryOptionsShowOutOfStockDisable.value}}" stepKey="setConfigShowOutOfStockFalse"/>
36-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
37-
<argument name="tags" value=""/>
38-
</actionGroup>
34+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3935
<deleteData createDataKey="product" stepKey="deleteProduct"/>
4036
<deleteData createDataKey="category" stepKey="deleteCategory"/>
4137
<comment userInput="Adding the comment for preserving Backward Compatibility" stepKey="logout"/>
@@ -58,9 +54,7 @@
5854
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
5955
<argument name="indices" value="catalog_product_price"/>
6056
</actionGroup>
61-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
62-
<argument name="tags" value=""/>
63-
</actionGroup>
57+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
6458

6559
<comment userInput="Open product page | Comment is kept to preserve the step key for backward compatibility" stepKey="openProductPage"/>
6660
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="goToSimpleProductPage2"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminAddInStockProductToTheCartTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@
5959
<actionGroup ref="AdminProductFormSaveActionGroup" stepKey="clickOnSaveButton"/>
6060
<see selector="{{AdminCategoryMessagesSection.SuccessMessage}}" userInput="You saved the product." stepKey="messageYouSavedTheProductIsShown"/>
6161
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
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
<!--Verify product is visible in category front page -->
6664
<amOnPage url="$$createCategory.name$$.html" stepKey="openCategoryStoreFrontPage"/>
6765
<waitForPageLoad stepKey="waitForCategoryPageToLoad"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateCategoryWithAnchorFieldTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@
7171
</actionGroup>
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
<!--Verify Product in store front page-->
7876
<amOnPage url="{{StorefrontCategoryPage.url(_defaultCategory.name_lwr)}}" stepKey="amOnCategoryPage"/>
7977
<waitForPageLoad stepKey="waitForPageToBeLoaded"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateDropdownProductAttributeVisibleInStorefrontAdvancedSearchFormTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@
8282
<click selector="{{AttributePropertiesSection.Save}}" stepKey="clickSave"/>
8383
<seeElement selector="{{AdminProductMessagesSection.successMessage}}" stepKey="seeSuccessMessage"/>
8484

85-
<!-- Flash cache -->
86-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
87-
<argument name="tags" value=""/>
88-
</actionGroup>
85+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
8986

9087
<!-- Go to store's advanced catalog search page -->
9188
<actionGroup ref="GoToStoreViewAdvancedCatalogSearchActionGroup" stepKey="GoToStoreViewAdvancedCatalogSearchActionGroup"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateInactiveFlatCategoryAndUpdateAsInactiveTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
<argument name="storeView" value="customStoreFR"/>
3232
</actionGroup>
3333
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
34-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
35-
<argument name="tags" value=""/>
36-
</actionGroup>
34+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3735
<!--Enable Flat Catalog Category -->
3836
<magentoCLI stepKey="setFlatCatalogCategory" command="config:set catalog/frontend/flat_catalog_category 1"/>
3937
<!--Open Index Management Page and Select Index mode "Update by Schedule" -->
@@ -64,9 +62,7 @@
6462
<see selector="{{AdminCategoryContentSection.categoryPageTitle}}" userInput="{{CatNotActive.name}}" stepKey="seeUpdatedCategoryTitle"/>
6563
<dontSeeCheckboxIsChecked selector="{{AdminCategoryBasicFieldSection.enableCategoryLabel}}" stepKey="verifyInactiveCategory"/>
6664
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
67-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
68-
<argument name="tags" value=""/>
69-
</actionGroup>
65+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
7066
<!--Open Index Management Page -->
7167
<actionGroup ref="AdminOpenIndexManagementPageActionGroup" stepKey="openIndexManagementPage"/>
7268
<see stepKey="seeIndexStatus" selector="{{AdminIndexManagementSection.indexerStatus('Category Flat Data')}}" userInput="Ready"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateInactiveFlatCategoryTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
<argument name="storeView" value="customStoreFR"/>
3232
</actionGroup>
3333
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
34-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
35-
<argument name="tags" value=""/>
36-
</actionGroup>
34+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3735
<!--Enable Flat Catalog Category -->
3836
<magentoCLI stepKey="setFlatCatalogCategory" command="config:set catalog/frontend/flat_catalog_category 1"/>
3937
<!--Open Index Management Page and Select Index mode "Update by Schedule" -->
@@ -67,9 +65,7 @@
6765
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
6866
<argument name="indices" value="catalog_category_flat"/>
6967
</actionGroup>
70-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
71-
<argument name="tags" value=""/>
72-
</actionGroup>
68+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
7369
<actionGroup ref="AdminOpenIndexManagementPageActionGroup" stepKey="openIndexManagementPage"/>
7470
<see stepKey="seeIndexStatus" selector="{{AdminIndexManagementSection.indexerStatus('Category Flat Data')}}" userInput="Ready"/>
7571
<!--Verify Category In Store Front-->

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateInactiveInMenuFlatCategoryTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
<argument name="storeView" value="customStoreFR"/>
3232
</actionGroup>
3333
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
34-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
35-
<argument name="tags" value=""/>
36-
</actionGroup>
34+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3735
<!--Enable Flat Catalog Category -->
3836
<magentoCLI stepKey="setFlatCatalogCategory" command="config:set catalog/frontend/flat_catalog_category 1"/>
3937
<!--Open Index Management Page and Select Index mode "Update by Schedule" -->
@@ -68,9 +66,7 @@
6866
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
6967
<argument name="indices" value="catalog_category_flat"/>
7068
</actionGroup>
71-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
72-
<argument name="tags" value=""/>
73-
</actionGroup>
69+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
7470
<actionGroup ref="AdminOpenIndexManagementPageActionGroup" stepKey="openIndexManagementPage"/>
7571
<see stepKey="seeIndexStatus" selector="{{AdminIndexManagementSection.indexerStatus('Category Flat Data')}}" userInput="Ready"/>
7672
<!--Verify Category In Store Front-->

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateMultipleSelectProductAttributeVisibleInStorefrontAdvancedSearchFormTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,7 @@
8686
<click selector="{{AttributePropertiesSection.Save}}" stepKey="clickSave"/>
8787
<seeElement selector="{{AdminProductMessagesSection.successMessage}}" stepKey="seeSuccessMessage"/>
8888

89-
<!-- Flash cache -->
90-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
91-
<argument name="tags" value=""/>
92-
</actionGroup>
89+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
9390

9491
<!-- Go to store's advanced catalog search page -->
9592
<actionGroup ref="GoToStoreViewAdvancedCatalogSearchActionGroup" stepKey="GoToStoreViewAdvancedCatalogSearchActionGroup"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateSimpleProductWithDatetimeAttributeTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@
4848
</actionGroup>
4949
<!-- Save the product -->
5050
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
51-
<!-- Flush config cache to reset product attributes in attribute set -->
52-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushConfigCache">
53-
<argument name="tags" value="config"/>
54-
</actionGroup>
51+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushConfigCache"/>
5552
<reloadPage stepKey="reloadProductEditPage"/>
5653
<!-- Check default value -->
5754
<waitForElementVisible selector="{{AdminProductAttributesSection.sectionHeader}}" stepKey="waitAttributesSectionAppears"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateSimpleProductWithUnicodeTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@
3232
<argument name="simpleProduct" value="ProductWithUnicode"/>
3333
</actionGroup>
3434
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
35-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
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="flushCache"/>
3836
<actionGroup ref="AssertProductInStorefrontCategoryPage" stepKey="assertProductInStorefront1">
3937
<argument name="category" value="$$createPreReqCategory$$"/>
4038
<argument name="product" value="ProductWithUnicode"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateVirtualProductWithCustomOptionsSuiteAndImportOptionsTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,7 @@
118118
<!-- Verify we see success message -->
119119
<see selector="{{AdminProductFormSection.successMessage}}" userInput="You saved the product." stepKey="seeAssertVirtualProductSuccessMessage"/>
120120
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
121-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
122-
<argument name="tags" value=""/>
123-
</actionGroup>
121+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
124122

125123
<!-- Verify customer see created virtual product with custom options suite and import options(from above step) on storefront page and is searchable by sku -->
126124
<amOnPage url="{{StorefrontProductPage.url(virtualProductCustomImportOptions.urlKey)}}" stepKey="goToProductPage"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateVirtualProductWithTierPriceTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@
9696
<see selector="{{StorefrontCategoryMainSection.productLink}}" userInput="{{virtualProductBigQty.name}}" stepKey="seeVirtualProductNameOnCategoryPage"/>
9797

9898
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
99-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
100-
<argument name="tags" value=""/>
101-
</actionGroup>
99+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
102100

103101
<!-- Verify customer see created virtual product with tier price(from above step) on storefront page and is searchable by sku -->
104102
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToHomePage"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminDeleteProductsImageInCaseOfMultipleStoresTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@
6666
<argument name="websiteName" value="{{NewWebSiteData.name}}"/>
6767
</actionGroup>
6868
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
69-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
70-
<argument name="tags" value=""/>
71-
</actionGroup>
69+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
7270
<deleteData createDataKey="createSubCategory" stepKey="deleteSubCategory"/>
7371
<deleteData createDataKey="createRootCategory" stepKey="deleteRootCategory"/>
7472
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
@@ -95,9 +93,7 @@
9593
</actionGroup>
9694
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct2"/>
9795
<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>
96+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
10197
<!--Switch to 'Default Store View' scope and open product page-->
10298
<actionGroup ref="SwitchToTheNewStoreViewActionGroup" stepKey="SwitchDefaultStoreView">
10399
<argument name="storeViewName" value="'Default Store View'"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminImportCustomizableOptionToProductWithSKUTest.xml

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

3434
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
35-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
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="flushCache"/>
3836

3937
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
4038
</before>

app/code/Magento/Catalog/Test/Mftf/Test/AdminMoveAnchoredCategoryToDefaultCategoryTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@
6666
<seeElement selector="{{AdminCategoryMessagesSection.SuccessMessage}}" stepKey="seeSuccessMessage2"/>
6767

6868
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
69-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
70-
<argument name="tags" value=""/>
71-
</actionGroup>
69+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
7270

7371
<!--Open Category in store front page-->
7472
<amOnPage url="/$$createDefaultCategory.name$$/{{FirstLevelSubCat.name}}/{{SimpleSubCategory.name}}.html" stepKey="seeTheCategoryInStoreFrontPage"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminMoveCategoryAndCheckUrlRewritesTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
<field key="is_active">true</field>
2424
</createData>
2525
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
26-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
27-
<argument name="tags" value=""/>
28-
</actionGroup>
26+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
2927
</before>
3028
<after>
3129
<deleteData createDataKey="createDefaultCategory" stepKey="deleteCategory"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminProductCustomURLKeyPreservedWhenAssignedToCategoryWithoutCustomURLKeyTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@
3535
</actionGroup>
3636

3737
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
38-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
39-
<argument name="tags" value="full_page"/>
40-
</actionGroup>
38+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4139
</before>
4240
<after>
4341
<deleteData createDataKey="createSimpleProductFirst" stepKey="deleteFirstSimpleProduct"/>

0 commit comments

Comments
 (0)