Skip to content

Commit 627e00b

Browse files
ENGCOM-8756: Removed CliCacheFlushActionGroup usage for Checkout module #32071
2 parents 81ad0b4 + 669d3f0 commit 627e00b

20 files changed

+21
-65
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
@@ -24,9 +24,7 @@
2424
<requiredEntity createDataKey="createCategory"/>
2525
</createData>
2626
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
27-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
28-
<argument name="tags" value=""/>
29-
</actionGroup>
27+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3028
</before>
3129
<after>
3230
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@
8888
<!-- Enable "Flat Rate" -->
8989
<actionGroup ref="AdminChangeFlatRateShippingMethodStatusActionGroup" stepKey="enableFlatRateShippingStatus"/>
9090

91-
<!-- Flush cache -->
92-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
93-
<argument name="tags" value=""/>
94-
</actionGroup>
91+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
9592

9693
<!-- Back to the Checkout and refresh the page -->
9794
<switchToPreviousTab stepKey="switchToPreviousTab"/>

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

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

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
<requiredEntity createDataKey="createCategory"/>
2828
</createData>
2929
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
30-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
31-
<argument name="tags" value=""/>
32-
</actionGroup>
30+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3331
</before>
3432
<after>
3533
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919
<group value="checkout"/>
2020
</annotations>
2121
<before>
22-
<!-- Flush cache -->
23-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
24-
<argument name="tags" value=""/>
25-
</actionGroup>
22+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
2623

2724
<!-- Create two customers -->
2825
<createData entity="Simple_US_Customer" stepKey="createFirstCustomer"/>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
<createData entity="_defaultProduct" stepKey="product">
2929
<requiredEntity createDataKey="category"/>
3030
</createData>
31-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
32-
<argument name="tags" value=""/>
33-
</actionGroup>
31+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3432
</before>
3533

3634
<after>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@
5353
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
5454
<argument name="indices" value="cataloginventory_stock"/>
5555
</actionGroup>
56-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
57-
<argument name="tags" value=""/>
58-
</actionGroup>
56+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
5957
</before>
6058
<after>
6159
<deleteData createDataKey="simpleProduct1" stepKey="deleteProduct1"/>

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@
5252
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
5353
<argument name="indices" value="cataloginventory_stock"/>
5454
</actionGroup>
55-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
56-
<argument name="tags" value=""/>
57-
</actionGroup>
55+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
5856
</before>
5957
<after>
6058
<deleteData createDataKey="simpleProduct1" stepKey="deleteProduct1"/>
@@ -115,9 +113,7 @@
115113

116114
<!--Enabled Mini Cart -->
117115
<magentoCLI stepKey="enableShoppingCartSidebar" command="config:set checkout/sidebar/display 1"/>
118-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
119-
<argument name="tags" value=""/>
120-
</actionGroup>
116+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
121117
<reloadPage stepKey="reloadThePage"/>
122118

123119
<!--Click on mini cart-->

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@
111111
<requiredEntity createDataKey="createConfigChildProduct3"/>
112112
</createData>
113113
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
114-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
115-
<argument name="tags" value=""/>
116-
</actionGroup>
114+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
117115
</before>
118116
<after>
119117
<deleteData createDataKey="createConfigChildProduct1" stepKey="deleteSimpleProduct1"/>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
<requiredEntity createDataKey="createDownloadableProduct"/>
3030
</createData>
3131
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
32-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
33-
<argument name="tags" value=""/>
34-
</actionGroup>
32+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3533
</before>
3634
<after>
3735
<magentoCLI stepKey="removeDownloadableDomain" command="downloadable:domains:remove example.com static.magento.com"/>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@
4343
<requiredEntity createDataKey="product"/>
4444
<requiredEntity createDataKey="simple3"/>
4545
</updateData>
46-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
47-
<argument name="tags" value=""/>
48-
</actionGroup>
46+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4947
</before>
5048
<after>
5149
<deleteData createDataKey="simple1" stepKey="deleteProduct1"/>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@
4949
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
5050
<argument name="indices" value="cataloginventory_stock"/>
5151
</actionGroup>
52-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
53-
<argument name="tags" value=""/>
54-
</actionGroup>
52+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
5553
</before>
5654
<after>
5755
<deleteData createDataKey="simpleProduct1" stepKey="deleteProduct1"/>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@
4949
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
5050
<argument name="indices" value="cataloginventory_stock"/>
5151
</actionGroup>
52-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
53-
<argument name="tags" value=""/>
54-
</actionGroup>
52+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
5553
</before>
5654
<after>
5755
<deleteData createDataKey="simpleProduct1" stepKey="deleteProduct1"/>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@
5151
<createData entity="SimpleProduct2" stepKey="simpleProduct10">
5252
<field key="price">100.00</field>
5353
</createData>
54-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
55-
<argument name="tags" value=""/>
56-
</actionGroup>
54+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
5755
</before>
5856
<after>
5957
<deleteData createDataKey="simpleProduct1" stepKey="deleteProduct1"/>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@
5555
<field key="price">110.00</field>
5656
</createData>
5757
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
58-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
59-
<argument name="tags" value=""/>
60-
</actionGroup>
58+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
6159
</before>
6260
<after>
6361
<deleteData createDataKey="simpleProduct1" stepKey="deleteProduct1"/>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@
4949
<createData entity="SimpleProduct2" stepKey="simpleProduct10">
5050
<field key="price">100.00</field>
5151
</createData>
52-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
53-
<argument name="tags" value=""/>
54-
</actionGroup>
52+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
5553
</before>
5654
<after>
5755
<deleteData createDataKey="simpleProduct1" stepKey="deleteProduct1"/>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontCustomerCheckoutTest/StorefrontCustomerCheckoutTestWithMultipleAddressesAndTaxRatesTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@
4343
<click stepKey="clickSave" selector="{{AdminStoresMainActionsSection.saveButton}}"/>
4444

4545
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
46-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
47-
<argument name="tags" value="full_page"/>
48-
</actionGroup>
46+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
4947
</before>
5048
<after>
5149
<!-- Go to the tax rule page and delete the row we created-->

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontCustomerCheckoutTest/StorefrontCustomerCheckoutTestWithRestrictedCountriesForPaymentTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
<createData entity="Simple_US_Customer" stepKey="simpleuscustomer"/>
2929

3030
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
31-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
32-
<argument name="tags" value=""/>
33-
</actionGroup>
31+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3432
</before>
3533
<after>
3634
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
</createData>
2525

2626
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
27-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
28-
<argument name="tags" value=""/>
29-
</actionGroup>
27+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3028
</before>
3129
<after>
3230
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontGuestCheckoutTest/StorefrontGuestCheckoutTestWithRestrictedCountriesForPaymentTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<magentoCLI stepKey="allowSpecificValue" command="config:set payment/checkmo/allowspecific 1"/>
2626
<magentoCLI stepKey="specificCountryValue" command="config:set payment/checkmo/specificcountry GB"/>
2727
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
28-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
29-
<argument name="tags" value=""/>
30-
</actionGroup>
28+
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
3129
</before>
3230
<after>
3331
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/>

0 commit comments

Comments
 (0)