Skip to content

Commit 4cfff44

Browse files
committed
Removed usage or changed value of CliIndexerReindexActionGroup action group for modules (mix)
1 parent cd857f9 commit 4cfff44

17 files changed

+24
-72
lines changed

app/code/Magento/Elasticsearch/Test/Mftf/Suite/SearchEngineElasticsearchSuite.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
<suite name="SearchEngineElasticsearchSuite">
1010
<before>
1111
<magentoCLI stepKey="setSearchEngineToElasticsearch" command="config:set {{SearchEngineElasticsearchConfigData.path}} {{SearchEngineElasticsearchConfigData.value}}"/>
12-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
13-
<argument name="indices" value=""/>
14-
</actionGroup>
12+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
1513
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
1614
<argument name="tags" value=""/>
1715
</actionGroup>

app/code/Magento/Elasticsearch/Test/Mftf/Test/StorefrontProductQuickSearchWithDecimalAttributeUsingElasticSearchTest.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@
5454
<deleteData createDataKey="newCategory" stepKey="deleteCategory"/>
5555
<!--Delete attribute-->
5656
<deleteData createDataKey="customAttribute" stepKey="deleteCustomAttribute"/>
57-
<!--Reindex and clear cache-->
58-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
59-
<argument name="indices" value=""/>
60-
</actionGroup>
57+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
6158
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
6259
<argument name="tags" value=""/>
6360
</actionGroup>
@@ -80,10 +77,7 @@
8077
<argument name="product" value="$$product2.sku$$"/>
8178
</actionGroup>
8279

83-
<!--Reindex and clear cache-->
84-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
85-
<argument name="indices" value=""/>
86-
</actionGroup>
80+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
8781
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
8882
<argument name="tags" value=""/>
8983
</actionGroup>

app/code/Magento/Elasticsearch6/Test/Mftf/Test/StorefrontElasticsearchSearchInvalidValueTest.xml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
2626
<!--Set Minimal Query Length-->
2727
<magentoCLI command="config:set {{SetMinQueryLength2Config.path}} {{SetMinQueryLength2Config.value}}" stepKey="setMinQueryLength"/>
28-
<!--Reindex indexes and clear cache-->
29-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
30-
<argument name="indices" value="catalogsearch_fulltext"/>
31-
</actionGroup>
28+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
3229
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3330
<argument name="tags" value="config"/>
3431
</actionGroup>
@@ -50,9 +47,7 @@
5047
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="goToProductCatalog"/>
5148
<actionGroup ref="DeleteProductsIfTheyExistActionGroup" stepKey="deleteProduct"/>
5249
<actionGroup ref="ResetProductGridToDefaultViewActionGroup" stepKey="resetFiltersIfExist"/>
53-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
54-
<argument name="indices" value="catalogsearch_fulltext"/>
55-
</actionGroup>
50+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
5651
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
5752
<argument name="tags" value="config"/>
5853
</actionGroup>
@@ -85,10 +80,7 @@
8580
</actionGroup>
8681
<fillField selector="{{AdminProductFormSection.attributeRequiredInput(textProductAttribute.attribute_code)}}" userInput="searchable" stepKey="fillTheAttributeRequiredInputField"/>
8782
<actionGroup ref="AdminProductFormSaveActionGroup" stepKey="clickSaveButton"/>
88-
<!-- TODO: REMOVE AFTER FIX MC-21717 -->
89-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
90-
<argument name="indices" value=""/>
91-
</actionGroup>
83+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
9284
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
9385
<argument name="tags" value="eav"/>
9486
</actionGroup>

app/code/Magento/LayeredNavigation/Test/Mftf/Test/ShopByButtonInMobileTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@
5050
</actionGroup>
5151
<selectOption selector="{{AdminProductFormSection.customSelectField($$attribute.attribute[attribute_code]$$)}}" userInput="option1" stepKey="selectAttribute"/>
5252
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveSimpleProduct"/>
53-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexAll">
54-
<argument name="indices" value=""/>
55-
</actionGroup>
53+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindexAll"/>
5654
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
5755
<argument name="tags" value=""/>
5856
</actionGroup>

app/code/Magento/LoginAsCustomer/Test/Mftf/Test/AdminUIShownIfLoginAsCustomerEnabledTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
</createData>
3030
<createData entity="Simple_US_Customer_Assistance_Allowed" stepKey="createCustomer"/>
3131
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
32-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
33-
<argument name="indices" value=""/>
34-
</actionGroup>
32+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
3533
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCachesAfterSet">
3634
<argument name="tags" value="config full_page"/>
3735
</actionGroup>
@@ -44,9 +42,7 @@
4442
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
4543
<magentoCLI command="config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
4644
stepKey="disableLoginAsCustomer"/>
47-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexAfter">
48-
<argument name="indices" value=""/>
49-
</actionGroup>
45+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindexAfter"/>
5046
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCachesDefault">
5147
<argument name="tags" value="config full_page"/>
5248
</actionGroup>

app/code/Magento/LoginAsCustomer/Test/Mftf/Test/StorefrontLoginAsCustomerSeeSpecialPriceOnCategoryTest.xml

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

6464
<!-- Save and apply the new catalog price rule -->
6565
<actionGroup ref="SaveAndApplyCatalogPriceRuleActionGroup" stepKey="saveAndApplyCatalogPriceRule"/>
66-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
67-
<argument name="indices" value=""/>
68-
</actionGroup>
66+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
6967
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
7068
<argument name="tags" value=""/>
7169
</actionGroup>

app/code/Magento/Newsletter/Test/Mftf/Test/VerifySubscribedNewsletterDisplayedTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@
5050
<argument name="websiteName" value="{{customWebsite.name}}"/>
5151
</actionGroup>
5252
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="clearFilters"/>
53-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
54-
<argument name="indices" value=""/>
55-
</actionGroup>
53+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
5654
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
5755
<argument name="tags" value=""/>
5856
</actionGroup>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<!--Create additional Store View in Main Website Store -->
3737
<actionGroup ref="AdminCreateStoreViewActionGroup" stepKey="createStoreView"/>
3838
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexAll">
39-
<argument name="indices" value=""/>
39+
<argument name="indices" value="catalog_category_product"/>
4040
</actionGroup>
4141
</before>
4242

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<argument name="customStore" value="customStore"/>
3333
</actionGroup>
3434
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="runReindex">
35-
<argument name="indices" value=""/>
35+
<argument name="indices" value="catalog_category_product"/>
3636
</actionGroup>
3737
</before>
3838
<after>

app/code/Magento/Weee/Test/Mftf/Test/AdminFixedTaxValSavedForSpecificWebsiteTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@
5151
<!--Set catalog price scope to Global-->
5252
<comment userInput="Set catalog price scope to Global" stepKey="commentSetPriceScope"/>
5353
<magentoCLI command="config:set catalog/price/scope 0" stepKey="setPriceScopeGlobal"/>
54-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
55-
<argument name="indices" value="catalog_product_price"/>
56-
</actionGroup>
54+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
5755
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
5856
<argument name="tags" value=""/>
5957
</actionGroup>
@@ -101,9 +99,7 @@
10199
<!--Set catalog price scope to Website-->
102100
<comment userInput="Set catalog price scope to Website" stepKey="commentSetPriceScope"/>
103101
<magentoCLI command="config:set catalog/price/scope 1" stepKey="setPriceScopeWebsite"/>
104-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
105-
<argument name="indices" value="catalog_product_price"/>
106-
</actionGroup>
102+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
107103
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
108104
<argument name="tags" value=""/>
109105
</actionGroup>

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
<requiredEntity createDataKey="categorySecond"/>
2727
</createData>
2828
<createData entity="Simple_US_Customer" stepKey="customer"/>
29-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
30-
<argument name="indices" value=""/>
31-
</actionGroup>
29+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
3230
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3331
<argument name="tags" value=""/>
3432
</actionGroup>
@@ -38,9 +36,7 @@
3836
<deleteData createDataKey="simpleProduct2" stepKey="deleteSimpleProduct2"/>
3937
<deleteData createDataKey="categoryFirst" stepKey="deleteCategoryFirst"/>
4038
<deleteData createDataKey="categorySecond" stepKey="deleteCategorySecond"/>
41-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
42-
<argument name="indices" value=""/>
43-
</actionGroup>
39+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
4440
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
4541
<argument name="tags" value=""/>
4642
</actionGroup>

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
<requiredEntity createDataKey="createCategory"/>
2727
</createData>
2828
<createData entity="Simple_US_Customer" stepKey="customer"/>
29-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
30-
<argument name="indices" value=""/>
31-
</actionGroup>
29+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
3230
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3331
<argument name="tags" value=""/>
3432
</actionGroup>
@@ -47,9 +45,7 @@
4745
<argument name="productAttributeLabel" value="{{visualSwatchAttribute.default_label}}"/>
4846
</actionGroup>
4947
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
50-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
51-
<argument name="indices" value=""/>
52-
</actionGroup>
48+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
5349
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
5450
<argument name="tags" value=""/>
5551
</actionGroup>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<requiredEntity createDataKey="simpleProduct2"/>
4747
</createData>
4848
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
49-
<argument name="indices" value=""/>
49+
<argument name="indices" value="cataloginventory_stock catalog_product_price"/>
5050
</actionGroup>
5151
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
5252
<argument name="tags" value=""/>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@
105105
<requiredEntity createDataKey="createConfigProduct"/>
106106
<requiredEntity createDataKey="createConfigChildProduct3"/>
107107
</createData>
108-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
109-
<argument name="indices" value=""/>
110-
</actionGroup>
108+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
111109
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
112110
<argument name="tags" value=""/>
113111
</actionGroup>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@
107107
<requiredEntity createDataKey="createConfigChildProduct3"/>
108108
</createData>
109109

110-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
111-
<argument name="indices" value=""/>
112-
</actionGroup>
110+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
113111
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
114112
<argument name="tags" value=""/>
115113
</actionGroup>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@
3535
<deleteData createDataKey="customer" stepKey="deleteCustomer"/>
3636
</after>
3737

38-
<!-- Perform reindex and flush cache -->
39-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
40-
<argument name="indices" value=""/>
41-
</actionGroup>
38+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
4239
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
4340
<argument name="tags" value=""/>
4441
</actionGroup>

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

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

29-
<!-- Perform reindex and flush cache -->
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=""/>
3532
</actionGroup>

0 commit comments

Comments
 (0)