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>

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

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

74-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
75-
<argument name="indices" value=""/>
76-
</actionGroup>
74+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
7775

7876
<!-- Navigate to category on store front -->
7977
<amOnPage url="{{StorefrontProductPage.url($createCategory.name$)}}" stepKey="goToCategoryPage"/>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@
4040
<actionGroup ref="AdminCatalogPriceRuleFillActionsActionGroup" stepKey="fillActionsForThirdPriceRule"/>
4141
<actionGroup ref="AdminCatalogPriceRuleSaveAndApplyActionGroup" stepKey="clickSaveAndApplyRule"/>
4242

43-
<!-- Perform reindex -->
44-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
45-
<argument name="indices" value="catalogrule_rule"/>
46-
</actionGroup>
43+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
4744
</before>
4845
<after>
4946
<createData entity="PersistentConfigDefault" stepKey="setDefaultPersistentState"/>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@
3333
</actionGroup>
3434
<actionGroup ref="AdminCatalogPriceRuleFillActionsActionGroup" stepKey="fillActionsForThirdPriceRule"/>
3535
<actionGroup ref="AdminCatalogPriceRuleSaveAndApplyActionGroup" stepKey="saveAndApplyFirstPriceRule"/>
36-
<!-- Perform reindex -->
37-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
38-
<argument name="indices" value=""/>
39-
</actionGroup>
36+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
4037
</before>
4138

4239
<after>

app/code/Magento/Downloadable/Test/Mftf/Test/AdminCreateDownloadableProductWithDefaultSetLinksTest.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323
<magentoCLI stepKey="addDownloadableDomain" command="downloadable:domains:add static.magento.com"/>
2424
<!-- Create category -->
2525
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
26-
<!-- Reindex and clear page 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="full_page"/>
3229
</actionGroup>
@@ -79,9 +76,7 @@
7976

8077
<!-- Save product -->
8178
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
82-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
83-
<argument name="indices" value=""/>
84-
</actionGroup>
79+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
8580
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
8681
<argument name="tags" value=""/>
8782
</actionGroup>

app/code/Magento/Indexer/Test/Mftf/Test/AdminSystemIndexManagementGridChangesTest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323

2424
<!--Open Index Management Page and Select Index mode "Update by Schedule" -->
2525
<magentoCLI command="indexer:set-mode" arguments="schedule" stepKey="setIndexerModeSchedule"/>
26-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="indexerReindex">
27-
<argument name="indices" value=""/>
28-
</actionGroup>
26+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="indexerReindex"/>
2927
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3028
<argument name="tags" value=""/>
3129
</actionGroup>
@@ -34,9 +32,7 @@
3432
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
3533
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
3634
<magentoCLI command="indexer:set-mode" arguments="realtime" stepKey="setIndexerModeRealTime"/>
37-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="indexerReindex">
38-
<argument name="indices" value=""/>
39-
</actionGroup>
35+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="indexerReindex"/>
4036
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
4137
<argument name="tags" value=""/>
4238
</actionGroup>

0 commit comments

Comments
 (0)