Skip to content

Commit 5fa1566

Browse files
committed
Updated usage of CliIndexerReindexActionGroup for tests
1 parent 3631c77 commit 5fa1566

5 files changed

+15
-5
lines changed

app/code/Magento/CatalogSearch/Test/Mftf/Test/AdvanceCatalogSearchSimpleProductTest/AdvanceCatalogSearchSimpleProductByDescriptionTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
<features value="CatalogSearch"/>
1313
<group value="CatalogSearch"/>
1414
</annotations>
15-
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
15+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
16+
<argument name="indices" value="cataloginventory_stock catalog_product_price"/>
17+
</actionGroup>
1618
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
1719
<argument name="tags" value=""/>
1820
</actionGroup>

app/code/Magento/CatalogSearch/Test/Mftf/Test/AdvanceCatalogSearchSimpleProductTest/AdvanceCatalogSearchSimpleProductByNameTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
<group value="CatalogSearch"/>
1414
</annotations>
1515

16-
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
16+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
17+
<argument name="indices" value="cataloginventory_stock catalog_product_price"/>
18+
</actionGroup>
1719
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
1820
<argument name="tags" value=""/>
1921
</actionGroup>

app/code/Magento/CatalogSearch/Test/Mftf/Test/AdvanceCatalogSearchSimpleProductTest/AdvanceCatalogSearchSimpleProductByPriceTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
<group value="CatalogSearch"/>
1414
</annotations>
1515

16-
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
16+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
17+
<argument name="indices" value="cataloginventory_stock catalog_product_price"/>
18+
</actionGroup>
1719
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
1820
<argument name="tags" value=""/>
1921
</actionGroup>

app/code/Magento/CatalogSearch/Test/Mftf/Test/AdvanceCatalogSearchSimpleProductTest/AdvanceCatalogSearchSimpleProductByShortDescriptionTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
<group value="CatalogSearch"/>
1414
</annotations>
1515

16-
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
16+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
17+
<argument name="indices" value="cataloginventory_stock catalog_product_price"/>
18+
</actionGroup>
1719
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
1820
<argument name="tags" value=""/>
1921
</actionGroup>

app/code/Magento/CatalogSearch/Test/Mftf/Test/AdvanceCatalogSearchSimpleProductTest/AdvanceCatalogSearchSimpleProductBySkuTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
<group value="CatalogSearch"/>
1414
</annotations>
1515

16-
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
16+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
17+
<argument name="indices" value="cataloginventory_stock catalog_product_price"/>
18+
</actionGroup>
1719
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
1820
<argument name="tags" value=""/>
1921
</actionGroup>

0 commit comments

Comments
 (0)