Skip to content

Commit 3a808ff

Browse files
committed
Removed usage or changed value of CliIndexerReindexActionGroup action group for Catalog module
1 parent ad29452 commit 3a808ff

17 files changed

+20
-60
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
<!--Clear cache and reindex-->
5353
<comment userInput="Clear cache and reindex" stepKey="cleanCache"/>
5454
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
55-
<argument name="indices" value=""/>
56-
</actionGroup>
55+
<argument name="indices" value="catalog_product_price"/>
56+
</actionGroup>
5757
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
5858
<argument name="tags" value=""/>
5959
</actionGroup>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@
5858
<actionGroup ref="AdminSubmitAdvancedInventoryFormActionGroup" stepKey="clickOnDoneButton"/>
5959
<actionGroup ref="AdminProductFormSaveActionGroup" stepKey="clickOnSaveButton"/>
6060
<see selector="{{AdminCategoryMessagesSection.SuccessMessage}}" userInput="You saved the product." stepKey="messageYouSavedTheProductIsShown"/>
61-
<!--Clear cache and reindex-->
62-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
63-
<argument name="indices" value=""/>
64-
</actionGroup>
61+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
6562
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
6663
<argument name="tags" value=""/>
6764
</actionGroup>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333
</createData>
3434
<!-- Create simple product -->
3535
<createData entity="SimpleProduct2" stepKey="createSimpleProduct"/>
36-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexCatalogSearch">
37-
<argument name="indices" value="catalogsearch_fulltext"/>
38-
</actionGroup>
36+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindexCatalogSearch"/>
3937
<!-- Login to Admin page -->
4038
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
4139
</before>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@
141141

142142
<!-- Save the second product -->
143143
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProduct2"/>
144-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
145-
<argument name="indices" value=""/>
146-
</actionGroup>
144+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
147145
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
148146
<argument name="tags" value=""/>
149147
</actionGroup>

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,15 @@
3434
<magentoCLI stepKey="setFlatCatalogCategory" command="config:set catalog/frontend/flat_catalog_category 1"/>
3535
<!--Open Index Management Page and Select Index mode "Update by Schedule" -->
3636
<magentoCLI stepKey="setIndexerMode" command="indexer:set-mode" arguments="schedule" />
37-
<!--Run full reindex and clear caches -->
38-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
39-
<argument name="indices" value=""/>
40-
</actionGroup>
37+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
4138
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
4239
<argument name="tags" value=""/>
4340
</actionGroup>
4441
</before>
4542
<after>
4643
<magentoCLI stepKey="setFlatCatalogCategory" command="config:set catalog/frontend/flat_catalog_category 0 "/>
4744
<magentoCLI stepKey="setIndexerMode" command="indexer:set-mode" arguments="realtime" />
48-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="indexerReindex">
49-
<argument name="indices" value=""/>
50-
</actionGroup>
45+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="indexerReindex"/>
5146
<deleteData stepKey="deleteCategory" createDataKey="createCategory" />
5247
<actionGroup ref="AdminDeleteStoreViewActionGroup" stepKey="deleteStoreViewEn">
5348
<argument name="customStore" value="customStoreEN"/>
@@ -71,7 +66,7 @@
7166
<seeElement selector="{{AdminCategoryMessagesSection.SuccessMessage}}" stepKey="seeSuccessMessage"/>
7267
<!--Run full reindex and clear caches -->
7368
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
74-
<argument name="indices" value=""/>
69+
<argument name="indices" value="catalog_category_flat"/>
7570
</actionGroup>
7671
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
7772
<argument name="tags" value=""/>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@
2626
</createData>
2727
<createData entity="SimpleSubCategory" stepKey="categoryEntity"/>
2828

29-
<!--TODO: REMOVE AFTER FIX MC-21717 -->
30-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
31-
<argument name="indices" value=""/>
32-
</actionGroup>
29+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
3330
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3431
<argument name="tags" value="full_page"/>
3532
</actionGroup>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,7 @@
9191
<click selector="{{AdminProductSEOSection.sectionHeader}}" stepKey="clickAdminProductSEOSection1"/>
9292
<seeInField selector="{{AdminProductSEOSection.urlKeyInput}}" userInput="{{simpleProductRegularPrice245InStock.urlKey}}" stepKey="seeUrlKey"/>
9393

94-
<!--Run re-index task -->
95-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
96-
<argument name="indices" value=""/>
97-
</actionGroup>
94+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
9895

9996
<!--Verify customer see updated simple product link on category page -->
10097
<amOnPage url="{{StorefrontCategoryPage.url($$categoryEntity.name$$)}}" stepKey="openCategoryPage"/>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,7 @@
9191
<click selector="{{AdminProductSEOSection.sectionHeader}}" stepKey="clickAdminProductSEOSection1"/>
9292
<seeInField selector="{{AdminProductSEOSection.urlKeyInput}}" userInput="{{simpleProductRegularPrice32501InStock.urlKey}}" stepKey="seeUrlKey"/>
9393

94-
<!--Run re-index task -->
95-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
96-
<argument name="indices" value=""/>
97-
</actionGroup>
94+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
9895

9996
<!--Verify customer see updated simple product link on category page -->
10097
<amOnPage url="{{StorefrontCategoryPage.url($$categoryEntity.name$$)}}" stepKey="openCategoryPage"/>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,7 @@
332332
<createData entity="CustomerAccountSharingDefault" stepKey="setConfigCustomerAccountDefault"/>
333333
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
334334

335-
<!--Do reindex and flush cache-->
336-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
337-
<argument name="indices" value=""/>
338-
</actionGroup>
335+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
339336
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
340337
<argument name="tags" value=""/>
341338
</actionGroup>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@
5656
<deleteData createDataKey="createSimpleProduct2" stepKey="deleteSimpleProduct2"/>
5757
</after>
5858

59-
<!--Re-index-->
60-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
61-
<argument name="indices" value=""/>
62-
</actionGroup>
59+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
6360

6461
<!-- Step 1: User browses catalog -->
6562
<comment userInput="Start of browsing catalog" stepKey="startOfBrowsingCatalog"/>

0 commit comments

Comments
 (0)