Skip to content

[MFTF] Replaced by CliCacheCleanActionGroup #34918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 2.4-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@
<before>
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
<magentoCLI stepKey="enableSendFriend" command="config:set sendfriend/email/enabled 1"/>
<magentoCLI stepKey="cacheClean" command="cache:clean config"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cacheClean">
<argument name="tags" value="config"/>
</actionGroup>
</before>
<after>
<magentoCLI stepKey="disableSendFriend" command="config:set sendfriend/email/enabled 0"/>
<magentoCLI stepKey="cacheClean" command="cache:clean config"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cacheClean">
<argument name="tags" value="config"/>
</actionGroup>
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
</after>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
<!--Set currency configuration-->
<magentoCLI command="config:set {{SetAllowedCurrenciesConfigForUSD.path}} {{SetAllowedCurrenciesConfigForUSD.value}},{{SetAllowedCurrenciesConfigForRHD.value}}" stepKey="setAllowedCurrencyRHDAndUSD"/>
<magentoCLI command="config:set {{CurrencyConverterApiKeyConfigData.path}} {{CurrencyConverterApiKeyConfigData.value}}" stepKey="setCurrencyConverterApiKey"/>
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches">
<argument name="tags" value="config full_page"/>
</actionGroup>
<!--Create product-->
<createData entity="SimpleProduct2" stepKey="createProduct"/>
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
Expand All @@ -38,7 +40,9 @@
<!--Set currency allow previous config-->
<magentoCLI command="config:set {{SetAllowedCurrenciesConfigForUSD.path}} {{SetAllowedCurrenciesConfigForUSD.value}}" stepKey="setDefaultAllowedCurrencies"/>
<magentoCLI command="config:set {{DefaultCurrencyConverterApiKeyConfigData.path}} {{DefaultCurrencyConverterApiKeyConfigData.value}}" stepKey="setDefaultCurrencyConverterApiKey"/>
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches">
<argument name="tags" value="config full_page"/>
</actionGroup>
<!--Delete created data-->
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutFromAdmin"/>
Expand All @@ -65,7 +69,9 @@
<argument name="messageType" value="warning"/>
</actionGroup>
<magentoCLI command="config:set {{SetAllowedCurrenciesConfigForUSD.path}} {{SetAllowedCurrenciesConfigForUSD.value}},{{SetAllowedCurrenciesConfigForEUR.value}}" stepKey="setAllowedCurrencyEURAndUSD"/>
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches">
<argument name="tags" value="config full_page"/>
</actionGroup>
<actionGroup ref="AdminOpenCurrencyRatesPageActionGroup" stepKey="openCurrencyRatesPageAfterSetEUR"/>
<actionGroup ref="AdminImportCurrencyRatesActionGroup" stepKey="importCurrencyRatesAfterEUR">
<argument name="rateService" value="Currency Converter API"/>
Expand All @@ -88,7 +94,9 @@
<see selector="{{StorefrontCategoryMainSection.productPrice}}" userInput="€" stepKey="seeEURCurrencySymbolInPrice"/>
<!--Set allowed currencies greater then 10-->
<magentoCLI command="config:set currency/options/allow RHD,CHW,YER,ZMK,CHE,EUR,USD,AMD,RUB,DZD,ARS,AWG" stepKey="setGreaterThanTenAllowedCurrencies"/>
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches2"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches2">
<argument name="tags" value="config full_page"/>
</actionGroup>
<!--Import rates from Currency Converter API with currencies greater then 10-->
<actionGroup ref="AdminOpenCurrencyRatesPageActionGroup" stepKey="openCurrencyRatesPageAfterChangeAllowed"/>
<actionGroup ref="AdminImportUnsupportedCurrencyRatesActionGroup" stepKey="importCurrencyRatesGreaterThen10">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@
<actionGroup ref="EnableWebUrlOptionsActionGroup" stepKey="addStoreCodeToUrls"/>
<!-- Set Customer Accounts Sharing to Global -->
<magentoCLI command="config:set {{CustomerAccountShareGlobalConfigData.path}} {{CustomerAccountShareGlobalConfigData.value}}" stepKey="shareCustomerAccountsGlobal"/>
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches">
<argument name="tags" value="config full_page"/>
</actionGroup>
<!-- Reindex all indexers -->
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@
<actionGroup ref="EnableWebUrlOptionsActionGroup" stepKey="addStoreCodeToUrls"/>
<!-- Set Customer Accounts Sharing to Per Website -->
<magentoCLI command="config:set {{CustomerAccountShareWebsiteConfigData.path}} {{CustomerAccountShareWebsiteConfigData.value}}" stepKey="setConfigCustomerAccountToWebsite"/>
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches">
<argument name="tags" value="config full_page"/>
</actionGroup>
<!-- Reindex all indexers -->
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@
</annotations>
<before>
<magentoCLI stepKey="disableGuestSubscription" command="config:set newsletter/subscription/allow_guest_subscribe 0"/>
<magentoCLI command="cache:clean config" stepKey="cleanCache"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config"/>
</actionGroup>
</before>
<after>
<magentoCLI stepKey="allowGuestSubscription" command="config:set newsletter/subscription/allow_guest_subscribe 1"/>
<magentoCLI command="cache:clean config" stepKey="cacheClean"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cacheClean">
<argument name="tags" value="config"/>
</actionGroup>
</after>

<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="openStorefrontPage"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
</annotations>
<before>
<magentoCLI command="config:set {{StorefrontEnableMoveJsCodeBottom.path}} {{StorefrontEnableMoveJsCodeBottom.value}}" stepKey="moveJsCodeBottomEnable"/>
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches">
<argument name="tags" value="config full_page"/>
</actionGroup>
<actionGroup ref="AdminLoginActionGroup" stepKey="logInAsAdmin"/>
<actionGroup ref="AdminOpenCategoryPageActionGroup" stepKey="goToCategoryPage"/>
<actionGroup ref="CreateCategoryActionGroup" stepKey="createCategory">
Expand All @@ -42,7 +44,9 @@
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutFromAdmin"/>

<magentoCLI command="config:set {{StorefrontDisableMoveJsCodeBottom.path}} {{StorefrontDisableMoveJsCodeBottom.value}}" stepKey="moveJsCodeBottomDisable"/>
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches">
<argument name="tags" value="config full_page"/>
</actionGroup>
</after>

<!-- Go to Storefront and place order for guest -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@

<magentoCLI command="config:set catalog/frontend/grid_per_page 12" stepKey="setDefaultProductsPerPage"/>
<magentoCLI command="config:set catalog/frontend/grid_per_page_values 12,24,36" stepKey="setDefaultGridPerPage"/>
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanInvalidatedCaches">
<argument name="tags" value="config full_page"/>
</actionGroup>

<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
<deleteData createDataKey="createSimpleProduct1" stepKey="deleteSimpleProduct1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
</annotations>
<before>
<magentoCLI command="config:set wishlist/general/active 0" stepKey="disableWishlist"/>
<magentoCLI command="cache:clean config" stepKey="cleanCache"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config"/>
</actionGroup>
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
<createData entity="SimpleProduct" stepKey="createProduct">
<requiredEntity createDataKey="createCategory"/>
Expand All @@ -31,7 +33,9 @@
</before>
<after>
<magentoCLI command="config:set wishlist/general/active 1" stepKey="enableWishlist"/>
<magentoCLI command="cache:clean config" stepKey="cacheClean"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cacheClean">
<argument name="tags" value="config"/>
</actionGroup>
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
</annotations>
<before>
<magentoCLI command="config:set {{WishlistHideFromSidebar.path}} {{WishlistHideFromSidebar.value}}" stepKey="disableWishlistInSidebar"/>
<magentoCLI command="cache:clean config full_page block_html" stepKey="cleanCache"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config full_page block_html"/>
</actionGroup>
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
<createData entity="SimpleProduct" stepKey="createProduct">
<requiredEntity createDataKey="createCategory"/>
Expand All @@ -34,7 +36,9 @@
</before>
<after>
<magentoCLI command="config:set {{WishlistShowInSidebar.path}} {{WishlistShowInSidebar.value}}" stepKey="enableWishlistInSidebar"/>
<magentoCLI command="cache:clean config full_page block_html" stepKey="cleanCache"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config full_page block_html"/>
</actionGroup>
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
</annotations>
<before>
<magentoCLI command="config:set wishlist/email/number_limit 1" stepKey="changeEmailsQtyLimit"/>
<magentoCLI command="cache:clean config" stepKey="cleanCache"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config"/>
</actionGroup>
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
<createData entity="SimpleProduct" stepKey="createProduct">
<requiredEntity createDataKey="createCategory"/>
Expand All @@ -31,7 +33,9 @@
</before>
<after>
<magentoCLI command="config:set wishlist/email/number_limit 10" stepKey="returnDefaultValue"/>
<magentoCLI command="cache:clean config" stepKey="cacheClean"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cacheClean">
<argument name="tags" value="config"/>
</actionGroup>
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
</annotations>
<before>
<magentoCLI command="config:set wishlist/email/text_limit 10" stepKey="changeTextLengthLimit"/>
<magentoCLI command="cache:clean config" stepKey="cleanCache"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
<argument name="tags" value="config"/>
</actionGroup>
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
<createData entity="SimpleProduct" stepKey="createProduct">
<requiredEntity createDataKey="createCategory"/>
Expand All @@ -31,7 +33,9 @@
</before>
<after>
<magentoCLI command="config:set wishlist/email/text_limit 255" stepKey="returnDefaultValue"/>
<magentoCLI command="cache:clean config" stepKey="cacheClean"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cacheClean">
<argument name="tags" value="config"/>
</actionGroup>
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer"/>
Expand Down