Skip to content

Commit 6390bbf

Browse files
committed
Removed usage or changed value of CliIndexerReindexActionGroup action group for CatalogRule, Downloadable and Indexer modules
1 parent 427f9bf commit 6390bbf

15 files changed

+19
-65
lines changed

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminApplyCatalogPriceRuleByProductAttributeTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,7 @@
154154
<argument name="discountAmount" value="{{SimpleCatalogPriceRule.discount_amount}}"/>
155155
</actionGroup>
156156
<actionGroup ref="AdminCatalogPriceRuleSaveAndApplyActionGroup" stepKey="saveAndApplyCatalogPriceRule"/>
157-
<!-- Run cron -->
158-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
159-
<argument name="indices" value="catalogrule_rule"/>
160-
</actionGroup>
157+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
161158
<!-- Open first simple product page on storefront -->
162159
<actionGroup ref="OpenStoreFrontProductPageActionGroup" stepKey="openFirstSimpleProductPage">
163160
<argument name="productUrlKey" value="$createFirstProduct.custom_attributes[url_key]$"/>

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminApplyCatalogRuleByCategoryTest.xml

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

7878
<!-- 3. Save and apply the new catalog price rule -->
7979
<click selector="{{AdminNewCatalogPriceRule.saveAndApply}}" stepKey="saveAndApply"/>
80-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
81-
<argument name="indices" value=""/>
82-
</actionGroup>
80+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
8381
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
8482
<argument name="tags" value=""/>
8583
</actionGroup>

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminApplyCatalogRuleForConfigurableProductWithSpecialPricesTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,7 @@
126126
<!-- Save and apply the new catalog price rule -->
127127
<actionGroup ref="SaveAndApplyCatalogPriceRuleActionGroup" stepKey="saveAndApplyCatalogPriceRule"/>
128128

129-
<!-- Reindex and flash cache -->
130-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
131-
<argument name="indices" value=""/>
132-
</actionGroup>
129+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
133130
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
134131
<argument name="tags" value=""/>
135132
</actionGroup>

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminCreateCatalogPriceRuleTest/AdminCreateCatalogPriceRuleByPercentTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@
2424
<requiredEntity createDataKey="createCategory"/>
2525
</createData>
2626

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

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminCreateCatalogPriceRuleTest/AdminCreateCatalogPriceRuleForCustomerGroupTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@
4848
<!--<click selector="{{AdminNewCatalogPriceRule.saveAndApply}}" stepKey="saveAndApply"/>-->
4949
<see selector="{{AdminCategoryMessagesSection.SuccessMessage}}" userInput="You saved the rule." stepKey="assertSuccess"/>
5050

51-
<!-- Perform reindex and flush cache -->
52-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
53-
<argument name="indices" value=""/>
54-
</actionGroup>
51+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
5552
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
5653
<argument name="tags" value=""/>
5754
</actionGroup>

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminDeleteCatalogPriceRuleEntityTest/AdminDeleteCatalogPriceRuleEntityFromConfigurableProductTest.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@
7171
<requiredEntity createDataKey="createConfigChildProduct2"/>
7272
</createData>
7373

74-
<!-- Perform reindex and flush cache -->
75-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
76-
<argument name="indices" value=""/>
77-
</actionGroup>
74+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
7875
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
7976
<argument name="tags" value=""/>
8077
</actionGroup>
@@ -117,10 +114,7 @@
117114
<waitForPageLoad time="30" stepKey="waitForPageLoad1"/>
118115
<see selector="{{AdminMessagesSection.success}}" userInput="You deleted the rule." stepKey="seeDeletedRuleMessage1"/>
119116

120-
<!-- Reindex -->
121-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
122-
<argument name="indices" value=""/>
123-
</actionGroup>
117+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
124118
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
125119
<argument name="tags" value=""/>
126120
</actionGroup>

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminDeleteCatalogPriceRuleEntityTest/AdminDeleteCatalogPriceRuleEntityFromSimpleProductTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@
5959
<!-- Assert that the Success message is present after the delete -->
6060
<see selector="{{AdminMessagesSection.success}}" userInput="You deleted the rule." stepKey="seeDeletedRuleMessage1"/>
6161

62-
<!-- Reindex -->
63-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
64-
<argument name="indices" value=""/>
65-
</actionGroup>
62+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
6663
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
6764
<argument name="tags" value=""/>
6865
</actionGroup>

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminDeleteCatalogPriceRuleTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<!-- Apply and flush the cache -->
8585
<click selector="{{AdminCatalogPriceRuleGrid.applyRules}}" stepKey="clickApplyRules"/>
8686
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
87-
<argument name="indices" value=""/>
87+
<argument name="indices" value="catalog_product_price"/>
8888
</actionGroup>
8989
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
9090
<argument name="tags" value=""/>

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminEnableAttributeIsUndefinedCatalogPriceRuleTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@
7979
<argument name="targetSelectValue" value="is undefined"/>
8080
</actionGroup>
8181
<click selector="{{AdminNewCatalogPriceRule.saveAndApply}}" stepKey="clickSaveAndApplyRules"/>
82-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
83-
<argument name="indices" value=""/>
84-
</actionGroup>
82+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
8583
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
8684
<argument name="tags" value=""/>
8785
</actionGroup>
@@ -129,9 +127,7 @@
129127
<argument name="targetSelectValue" value="is undefined"/>
130128
</actionGroup>
131129
<click selector="{{AdminNewCatalogPriceRule.saveAndApply}}" stepKey="clickSaveAndApplyRules1"/>
132-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexSecondTime">
133-
<argument name="indices" value=""/>
134-
</actionGroup>
130+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindexSecondTime"/>
135131
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheSecondTime">
136132
<argument name="tags" value=""/>
137133
</actionGroup>

app/code/Magento/CatalogRule/Test/Mftf/Test/ApplyCatalogRuleForSimpleAndConfigurableProductTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@
112112
<!-- Save and apply the new catalog price rule -->
113113
<actionGroup ref="SaveAndApplyCatalogPriceRuleActionGroup" stepKey="saveAndApplyCatalogPriceRule"/>
114114

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

0 commit comments

Comments
 (0)