Skip to content

Commit 930b789

Browse files
ENGCOM-8681: Removed CliIndexerReindexActionGroup action group usage for Sales module #31788
- Merge Pull Request #31788 from sergiy-v/magento2:mftf-CliIndexerReindexActionGroup-usage-s-modules - Merged commits: 1. 9dd746a
2 parents f6e06ec + 9dd746a commit 930b789

18 files changed

+18
-65
lines changed

app/code/Magento/Sales/Test/Mftf/Test/AdminCancelTheCreatedOrderWithCheckMoneyOrderPaymentMethodTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@
9494
<requiredEntity createDataKey="createConfigProduct"/>
9595
<requiredEntity createDataKey="createConfigChildProduct1"/>
9696
</createData>
97-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
98-
<argument name="indices" value=""/>
99-
</actionGroup>
97+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
10098
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
10199
<argument name="tags" value=""/>
102100
</actionGroup>

app/code/Magento/Sales/Test/Mftf/Test/AdminCancelTheCreatedOrderWithPurchaseOrderPaymentMethodTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@
3535
<createData entity="SimpleProduct2" stepKey="simpleProduct">
3636
<field key="price">10.00</field>
3737
</createData>
38-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
39-
<argument name="indices" value=""/>
40-
</actionGroup>
38+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
4139
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
4240
<argument name="tags" value=""/>
4341
</actionGroup>

app/code/Magento/Sales/Test/Mftf/Test/AdminCorrectnessInvoicedItemInBundleProductTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@
5757
</actionGroup>
5858
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
5959

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

6562
<!--Go to bundle product page-->
6663
<amOnPage url="{{StorefrontProductPage.url($$createCategory.name$$)}}" stepKey="navigateToBundleProductPage"/>

app/code/Magento/Sales/Test/Mftf/Test/AdminReorderWithCatalogPriceRuleDiscountTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3030
<argument name="tags" value=""/>
3131
</actionGroup>
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
<amOnPage url="{{AdminCatalogPriceRuleGridPage.url}}" stepKey="goToAdminCatalogPriceRuleGridPage2"/>
3634
<!-- It sometimes is loading too long for default 10s -->
3735
<waitForPageLoad time="60" stepKey="waitForPageFullyLoaded2"/>

app/code/Magento/Sales/Test/Mftf/Test/CreateOrderFromEditCustomerPageTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@
7575
<requiredEntity createDataKey="createConfigProduct"/>
7676
<requiredEntity createDataKey="createConfigChildProduct1"/>
7777
</createData>
78-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
79-
<argument name="indices" value=""/>
80-
</actionGroup>
78+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
8179
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
8280
<argument name="tags" value=""/>
8381
</actionGroup>

app/code/Magento/Sales/Test/Mftf/Test/MoveRecentlyViewedBundleFixedProductOnOrderPageTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@
5757
<!-- Change configuration -->
5858
<magentoCLI command="config:set reports/options/enabled 1" stepKey="enableReportModule"/>
5959

60-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
61-
<argument name="indices" value=""/>
62-
</actionGroup>
60+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
6361
</before>
6462
<after>
6563
<!-- Admin logout -->

app/code/Magento/Sales/Test/Mftf/Test/StorefrontOrderPagerDisplayedTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@
8989
<!-- Customer is created -->
9090
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>
9191

92-
<!-- Reindex and flush the cache to display products on the category page -->
93-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
94-
<argument name="indices" value=""/>
95-
</actionGroup>
92+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
9693
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
9794
<argument name="tags" value=""/>
9895
</actionGroup>

app/code/Magento/SalesRule/Test/Mftf/Test/StorefrontCartTotalValueWithFullDiscountUsingCartRuleTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@
5656
<createData entity="SimpleProduct2" stepKey="createSimpleProductThird">
5757
<field key="price">5.50</field>
5858
</createData>
59-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
60-
<argument name="indices" value=""/>
61-
</actionGroup>
59+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
6260
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
6361
<argument name="tags" value=""/>
6462
</actionGroup>

app/code/Magento/Search/Test/Mftf/Test/StorefrontVerifySearchSuggestionByProductDescriptionTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323
<!-- Create product with description -->
2424
<createData entity="SimpleProductWithDescription" stepKey="simpleProduct"/>
2525

26-
<!-- Perform reindex and flush cache -->
27-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
28-
<argument name="indices" value=""/>
29-
</actionGroup>
26+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
3027
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3128
<argument name="tags" value=""/>
3229
</actionGroup>

app/code/Magento/Search/Test/Mftf/Test/StorefrontVerifySearchSuggestionByProductNameTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
<!--Create Simple Product -->
2626
<createData entity="defaultSimpleProduct" stepKey="simpleProduct"/>
2727

28-
<!-- Perform reindex and flush cache -->
29-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
30-
<argument name="indices" value=""/>
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=""/>
3431
</actionGroup>

0 commit comments

Comments
 (0)