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"/>

0 commit comments

Comments
 (0)