Skip to content

Commit

Permalink
Removed CliCacheFlushActionGroup usage (or changed value) for Wishlis…
Browse files Browse the repository at this point in the history
…t, Swatches, Translation, UrlRewrite, Vault and Weee modules
  • Loading branch information
sergiy-v committed Feb 3, 2021
1 parent 5e57ddd commit 020bc36
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 105 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@

<!-- Enable swatch tooltips -->
<magentoCLI command="config:set catalog/frontend/show_swatch_tooltip 1" stepKey="disableTooltips"/>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterEnabling">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterEnabling"/>
</after>

<!-- Go to the edit page for the "color" attribute -->
Expand Down Expand Up @@ -149,9 +147,7 @@

<!-- Disable swatch tooltips -->
<magentoCLI command="config:set catalog/frontend/show_swatch_tooltip 0" stepKey="disableTooltips"/>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterDisabling">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterDisabling"/>

<!-- Verify swatch tooltips are not visible -->
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshPage"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>

<!--Select any option in the Layered navigation and verify product image-->
<amOnPage url="{{StorefrontCategoryPage.url($$createCategory.name$$)}}" stepKey="navigateToCategoryPage"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

<!-- 2. Refresh magento cache -->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterTranslateEnabled">
<argument name="tags" value=""/>
<argument name="tags" value="full_page"/>
</actionGroup>

<!-- 3. Go to storefront and click on cart button on the top -->
Expand Down Expand Up @@ -478,9 +478,7 @@
<!-- 7. Set *Enabled for Storefront* option to *No* and save configuration -->
<magentoCLI command="config:set {{DisableTranslateInlineForStorefront.path}} {{DisableTranslateInlineForStorefront.value}}" stepKey="disableTranslateInlineForStorefront"/>
<!-- 8. Clear magento cache -->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterTranslateDisabled">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterTranslateDisabled"/>

<magentoCLI command="setup:static-content:deploy -f" stepKey="deployStaticContent"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
<!-- Set the configuration for Generate "category/product" URL Rewrites to Yes (default)-->
<comment userInput="Enable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentEnableUrlRewriteConfig"/>
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterEnableConfig">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterEnableConfig"/>
<createData entity="ApiCategory" stepKey="createCategory">
<field key="name">category-admin</field>
</createData>
Expand All @@ -40,10 +37,7 @@
<!-- Set the configuration for Generate "category/product" URL Rewrites to No-->
<comment userInput="Disable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentDisableUrlRewriteConfig"/>
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 0" stepKey="disableGenerateUrlRewrite"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterDisableConfig">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterDisableConfig"/>
</before>
<after>
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
Expand All @@ -61,10 +55,7 @@
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearFiltersIfSet"/>
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="resetConfigurationSetting"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
</after>
<actionGroup ref="SwitchCategoryStoreViewActionGroup" stepKey="switchToStoreViewEn">
<argument name="Store" value="customStoreENNotUnique.name"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
<!-- Set the configuration for Generate "category/product" URL Rewrites-->
<comment userInput="Enable config to generate category/product URL Rewrites" stepKey="commentEnableConfig" />
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>

<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
<createData entity="SimpleSubCategory" stepKey="createCategory"/>
Expand All @@ -39,10 +36,7 @@
<!-- Set the configuration for Generate "category/product" URL Rewrites-->
<comment userInput="Enable config to generate category/product URL Rewrites" stepKey="commentEnableConfig" />
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>

<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
</after>
Expand All @@ -62,9 +56,7 @@
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 0" stepKey="disableGenerateUrlRewrite"/>

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

<!-- 4. Open Marketing - SEO & Search - URL Rewrites -->
<actionGroup ref="AdminSearchUrlRewriteByRequestPathActionGroup" stepKey="searchingUrlRewriteAfterDisablingTheConfig">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@
<!-- Set the configuration for Generate "category/product" URL Rewrites to Yes (default)-->
<comment userInput="Enable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentEnableUrlRewriteConfig"/>
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterEnableConfig">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterEnableConfig"/>

<createData entity="SimpleSubCategory" stepKey="simpleSubCategory1"/>
<createData entity="SubCategoryWithParent" stepKey="simpleSubCategory2">
Expand All @@ -43,20 +40,14 @@
<!-- Set the configuration for Generate "category/product" URL Rewrites to No-->
<comment userInput="Disable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentDisableUrlRewriteConfig"/>
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 0" stepKey="disableGenerateUrlRewrite"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
</before>
<after>
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
<deleteData createDataKey="simpleSubCategory1" stepKey="deletesimpleSubCategory1"/>
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="resetConfigurationSetting"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterDisableConfig">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterDisableConfig"/>
</after>
<!-- Steps -->
<!-- 1. Log in to Admin -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
<!-- Set the configuration for Generate "category/product" URL Rewrites to Yes (default)-->
<comment userInput="Enable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentEnableUrlRewriteConfig"/>
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterEnableConfig">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterEnableConfig"/>
<createData entity="SimpleSubCategory" stepKey="simpleSubCategory1"/>
<!-- Create Simple product 1 and assign it to Category 1 -->
<createData entity="ApiSimpleProduct" stepKey="createSimpleProduct">
Expand All @@ -33,19 +30,13 @@
<!-- Set the configuration for Generate "category/product" URL Rewrites to No-->
<comment userInput="Disable SEO configuration setting to generate category/product URL Rewrites" stepKey="commentDisableUrlRewriteConfig"/>
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 0" stepKey="disableGenerateUrlRewrite"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAfterDisableConfig">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCacheAfterDisableConfig"/>
</before>
<after>
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
<deleteData createDataKey="simpleSubCategory1" stepKey="deletesimpleSubCategory1"/>
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="resetConfigurationSetting"/>
<!--Flush cache-->
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
</after>

<!-- 1. Log in to Admin -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,11 @@
<executeJS function="return window.location.host" stepKey="hostname"/>
<magentoCLI command="config:set web/secure/base_url https://{$hostname}/" stepKey="setSecureBaseURL"/>
<magentoCLI command="config:set web/secure/use_in_frontend 1" stepKey="useSecureURLsOnStorefront"/>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
</before>
<after>
<magentoCLI command="config:set web/secure/use_in_frontend 0" stepKey="dontUseSecureURLsOnStorefront"/>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
<deleteData createDataKey="customer" stepKey="deleteCustomer"/>
</after>
<executeJS function="return window.location.host" stepKey="hostname"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value="catalog_product_price"/>
</actionGroup>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
</before>
<after>
<!--Set catalog price scope to Global-->
Expand Down Expand Up @@ -104,9 +102,7 @@
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value="catalog_product_price"/>
</actionGroup>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
<!--See available websites only 'All Websites'-->
<comment userInput="See available websites 'All Websites', 'Main Website' and Second website" stepKey="commentCheckWebsitesInProductPage"/>
<actionGroup ref="AdminProductPageOpenByIdActionGroup" stepKey="goToProductPageSecondTime">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
</before>
<after>
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>
Expand All @@ -41,9 +39,7 @@
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
<deleteData createDataKey="customer" stepKey="deleteCustomer"/>
</after>
<!-- Sign in as customer -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
</before>
<after>
Expand All @@ -50,9 +48,7 @@
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
</after>
<actionGroup ref="AdminProductPageOpenByIdActionGroup" stepKey="navigateToFirstConfigProductPage">
<argument name="productId" value="$$createFirstConfigProduct.id$$"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
</before>
<after>
<!-- Delete data -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
<argument name="indices" value=""/>
</actionGroup>
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
<argument name="tags" value=""/>
</actionGroup>
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
</before>
<after>
<!-- Delete data -->
Expand Down
Loading

0 comments on commit 020bc36

Please sign in to comment.