Skip to content

Commit 897d226

Browse files
ENGCOM-8627: Removed CliIndexerReindexActionGroup action group usage for Checkout module #31634
- Merge Pull Request #31634 from sergiy-v/magento2:mftf-CliIndexerReindexActionGroup-usage-checkout - Merged commits: 1. e73db99
2 parents c9242e8 + e73db99 commit 897d226

File tree

26 files changed

+26
-64
lines changed

26 files changed

+26
-64
lines changed

app/code/Magento/Checkout/Test/Mftf/Test/AddressStateFieldShouldNotAcceptJustIntegerValuesTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
<createData entity="ApiSimpleProduct" stepKey="createProduct">
2424
<requiredEntity createDataKey="createCategory"/>
2525
</createData>
26-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
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="reindex"/>
2927
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3028
<argument name="tags" value=""/>
3129
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/DeleteBundleDynamicProductFromShoppingCartTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<requiredEntity createDataKey="createSimpleProduct"/>
4040
</createData>
4141
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
42-
<argument name="indices" value=""/>
42+
<argument name="indices" value="cataloginventory_stock"/>
4343
</actionGroup>
4444
</before>
4545
<after>

app/code/Magento/Checkout/Test/Mftf/Test/DeleteBundleFixedProductFromShoppingCartTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<requiredEntity createDataKey="createSimpleProduct"/>
3535
</createData>
3636
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
37-
<argument name="indices" value=""/>
37+
<argument name="indices" value="cataloginventory_stock"/>
3838
</actionGroup>
3939
</before>
4040
<after>

app/code/Magento/Checkout/Test/Mftf/Test/EditShippingAddressOnePageCheckoutTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
<requiredEntity createDataKey="createCategory"/>
2626
</createData>
2727
<createData entity="Simple_US_Customer_NY" stepKey="createCustomer"/>
28-
<!--Clear cache and reindex-->
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>

app/code/Magento/Checkout/Test/Mftf/Test/NoErrorCartCheckoutForProductsDeletedFromMiniCartTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
<field key="price">100.00</field>
2727
<requiredEntity createDataKey="createCategory"/>
2828
</createData>
29-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
30-
<argument name="indices" value=""/>
31-
</actionGroup>
29+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
3230
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3331
<argument name="tags" value=""/>
3432
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/OnePageCheckoutWithAllProductTypesTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<createData entity="Simple_Customer_Without_Address" stepKey="createCustomer"/>
9090

9191
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
92-
<argument name="indices" value=""/>
92+
<argument name="indices" value="cataloginventory_stock"/>
9393
</actionGroup>
9494
</before>
9595
<after>

app/code/Magento/Checkout/Test/Mftf/Test/StoreFrontAddProductWithAllTypesOfCustomOptionToTheShoppingCartWithoutAnySelectedOptionTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
<requiredEntity createDataKey="createCategory"/>
2424
</createData>
2525
<updateData createDataKey="createProduct" entity="productWithOptions" stepKey="updateProductWithCustomOptions"/>
26-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
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="reindex"/>
2927
</before>
3028
<after>
3129
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontAddBundleDynamicProductToShoppingCartWithDisableMiniCartSidebarTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<requiredEntity createDataKey="simpleProduct2"/>
5151
</createData>
5252
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
53-
<argument name="indices" value=""/>
53+
<argument name="indices" value="cataloginventory_stock"/>
5454
</actionGroup>
5555
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
5656
<argument name="tags" value=""/>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontAddConfigurableProductToShoppingCartTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@
110110
<requiredEntity createDataKey="createConfigProduct"/>
111111
<requiredEntity createDataKey="createConfigChildProduct3"/>
112112
</createData>
113-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
114-
<argument name="indices" value=""/>
115-
</actionGroup>
113+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
116114
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
117115
<argument name="tags" value=""/>
118116
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontAddDownloadableProductToShoppingCartTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
<createData entity="downloadableLink2" stepKey="addDownloadableLink2">
2929
<requiredEntity createDataKey="createDownloadableProduct"/>
3030
</createData>
31-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
32-
<argument name="indices" value=""/>
33-
</actionGroup>
31+
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
3432
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
3533
<argument name="tags" value=""/>
3634
</actionGroup>

0 commit comments

Comments
 (0)