Skip to content

Commit c6d0b8e

Browse files
ENGCOM-8525: Removed usage of CliIndexerReindexActionGroup action group #31128
2 parents d89cdff + 1a64de9 commit c6d0b8e

18 files changed

+20
-50
lines changed

app/code/Magento/Bundle/Test/Mftf/Test/AdminAssociateBundleProductToWebsitesTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@
4242
<requiredEntity createDataKey="createSimpleProduct"/>
4343
</createData>
4444

45-
<!-- Reindex -->
46-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
47-
<argument name="indices" value=""/>
48-
</actionGroup>
45+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
4946

5047
<!-- Login as admin -->
5148
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminDeleteBundleDynamicPriceProductTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
<requiredEntity createDataKey="createSimpleProduct"/>
3737
</createData>
3838
<!-- TODO: Remove this action when MC-37719 will be fixed -->
39-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexInvalidatedIndices">
40-
<argument name="indices" value="cataloginventory_stock"/>
41-
</actionGroup>
39+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindexInvalidatedIndices"/>
4240
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
4341
</before>
4442
<after>

app/code/Magento/Bundle/Test/Mftf/Test/MassEnableDisableBundleProductsTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@
133133
<click selector="{{AdminProductFiltersSection.enable}}" stepKey="ClickOnEnable"/>
134134

135135
<!--Clear Cache - reindex - resets products according to enabled/disabled view-->
136-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
137-
<argument name="indices" value=""/>
138-
</actionGroup>
136+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
139137
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
140138
<argument name="tags" value=""/>
141139
</actionGroup>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontAddBundleProductWithZeroPriceToShoppingCartTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<requiredEntity createDataKey="apiSimple"/>
4242
</createData>
4343
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
44-
<argument name="indices" value=""/>
44+
<argument name="indices" value="cataloginventory_stock catalog_product_price"/>
4545
</actionGroup>
4646
</before>
4747
<after>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontCustomerSearchBundleProductsByKeywordsTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@
3939
<requiredEntity createDataKey="fixedBundleOption"/>
4040
<requiredEntity createDataKey="createSimpleProductTwo"/>
4141
</createData>
42+
4243
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
43-
<argument name="indices" value=""/>
44+
<argument name="indices" value="cataloginventory_stock catalog_product_price"/>
4445
</actionGroup>
4546
</before>
4647
<after>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontSortBundleProductsByPriceTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

9797
<!-- Perform CLI reindex -->
9898
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
99-
<argument name="indices" value=""/>
99+
<argument name="indices" value="cataloginventory_stock catalog_product_price"/>
100100
</actionGroup>
101101
</before>
102102
<after>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontVerifyDynamicBundleProductPricesForCombinationOfOptionsTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
<see userInput="You saved the configuration." selector="{{AdminCategoryMessagesSection.SuccessMessage}}" stepKey="seeSuccess"/>
169169

170170
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
171-
<argument name="indices" value=""/>
171+
<argument name="indices" value="cataloginventory_stock catalog_product_price"/>
172172
</actionGroup>
173173
</before>
174174
<after>

app/code/Magento/BundleImportExport/Test/Mftf/Test/UpdateBundleProductViaImportTest.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<argument name="tags" value="full_page"/>
4343
</actionGroup>
4444
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="indexerReindexAfterCreate">
45-
<argument name="indices" value=""/>
45+
<argument name="indices" value="catalog_product_price"/>
4646
</actionGroup>
4747

4848
<!-- Check Bundle product is visible on the storefront-->
@@ -63,9 +63,7 @@
6363
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterUpdate">
6464
<argument name="tags" value="full_page"/>
6565
</actionGroup>
66-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="indexerReindexAfterUpdate">
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="indexerReindexAfterUpdate"/>
6967

7068
<!-- Check Bundle product is still visible on the storefront-->
7169
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="openCategoryPageAfterUpdate">

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
<argument name="storeView" value="customStoreFR"/>
3232
</actionGroup>
3333

34-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="indexerReindexAfterCreate">
35-
<argument name="indices" value=""/>
36-
</actionGroup>
34+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="indexerReindexAfterCreate"/>
3735
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheBefore">
3836
<argument name="tags" value=""/>
3937
</actionGroup>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@
9191
<see selector="{{AdminProductFormConfigurationsSection.currentVariationsPriceCells}}" userInput="{{ProductWithLongNameSku.price}}" stepKey="seeConfigurationsPrice"/>
9292

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

9896
<!--Assert storefront category list page-->
9997
<amOnPage url="/" stepKey="amOnStorefront"/>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,7 @@
131131
<!-- Save product -->
132132
<actionGroup ref="SaveConfigurableProductAddToCurrentAttributeSetActionGroup" stepKey="saveProduct"/>
133133

134-
<!--Run re-index task-->
135-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
136-
<argument name="indices" value=""/>
137-
</actionGroup>
134+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
138135

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

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

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

7979
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
8080
<magentoCron groups="index" stepKey="reindexInvalidatedIndices"/>
81-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexAll">
82-
<argument name="indices" value=""/>
83-
</actionGroup>
81+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindexAll"/>
8482
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
8583
<argument name="tags" value=""/>
8684
</actionGroup>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@
144144
<magentoCron groups="index" stepKey="reindexInvalidatedIndices"/>
145145
</after>
146146

147-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexAll">
148-
<argument name="indices" value=""/>
149-
</actionGroup>
147+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindexAll"/>
150148
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
151149
<argument name="tags" value=""/>
152150
</actionGroup>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/StorefrontConfigurableProductViewTest/StorefrontConfigurableProductGridViewTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
<argument name="category" value="$$createCategory$$"/>
2828
</actionGroup>
2929
<!-- TODO: REMOVE AFTER FIX MC-21717 -->
30-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
31-
<argument name="indices" value=""/>
32-
</actionGroup>
30+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
3331
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3432
<argument name="tags" value="eav"/>
3533
</actionGroup>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@
112112
<argument name="categoryName" value="$$secondCategory.name$$"/>
113113
</actionGroup>
114114

115-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexSearchIndex">
116-
<argument name="indices" value="catalogsearch_fulltext"/>
117-
</actionGroup>
115+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindexSearchIndex"/>
118116

119117
<!-- Go to storefront to view child product -->
120118
<actionGroup ref="StorefrontNavigateCategoryPageActionGroup" stepKey="goToSecondCategoryStorefront">

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,7 @@
153153
<argument name="discountAmount" value="{{CatalogRuleByPercentWith96Amount.discount_amount}}"/>
154154
</actionGroup>
155155
<actionGroup ref="AdminCatalogPriceRuleSaveAndApplyActionGroup" stepKey="saveAndApplyCatalogPriceRule"/>
156-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexIndices">
157-
<argument name="indices" value="catalogsearch_fulltext catalog_category_product catalog_product_price catalogrule_rule"/>
158-
</actionGroup>
156+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindexIndices"/>
159157
<actionGroup ref="CliCacheCleanActionGroup" stepKey="fullCache">
160158
<argument name="tags" value="full_page"/>
161159
</actionGroup>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,7 @@
138138
<actionGroup ref="AdminProductFormSaveActionGroup" stepKey="clickOnSaveButton"/>
139139
<see selector="{{AdminCategoryMessagesSection.SuccessMessage}}" userInput="You saved the product." stepKey="messageYouSavedTheProductIsShown"/>
140140

141-
<!--Run re-index task-->
142-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
143-
<argument name="indices" value=""/>
144-
</actionGroup>
141+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
145142

146143
<!--Open Category in Store Front and select product attribute option from sidebar -->
147144
<actionGroup ref="SelectStorefrontSideBarAttributeOption" stepKey="selectStorefrontProductAttributeOption">

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,7 @@
194194
<click selector="{{AdminCreateProductConfigurationsPanel.next}}" stepKey="generateConfigsForDuplicatedProduct"/>
195195
<waitForPageLoad stepKey="waitForDuplicatedProductPageLoad"/>
196196
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveDuplicatedProduct"/>
197-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
198-
<argument name="indices" value=""/>
199-
</actionGroup>
197+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
200198
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
201199
<argument name="tags" value=""/>
202200
</actionGroup>

0 commit comments

Comments
 (0)