Skip to content

Commit cbdc91d

Browse files
committed
MC-4244: Skip URL rewrites multiplication
1 parent 85fab56 commit cbdc91d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/code/Magento/UrlRewrite/Test/Mftf/Test/AdminGenerateUrlRewritesForProductInCategoriesSwitchOffTest.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@
3333
<after>
3434
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
3535
<deleteData createDataKey="createSimpleProduct" stepKey="deleteProduct"/>
36+
37+
<!-- Set the configuration for Generate "category/product" URL Rewrites-->
38+
<comment userInput="Enable config to generate category/product URL Rewrites" stepKey="commentEnableConfig" />
39+
<magentoCLI command="config:set catalog/seo/generate_category_product_rewrites 1" stepKey="enableGenerateUrlRewrite"/>
40+
<!--Flush cache-->
41+
<magentoCLI command="cache:flush" stepKey="cleanCache1"/>
42+
3643
<actionGroup ref="logout" stepKey="logout"/>
3744
</after>
3845

0 commit comments

Comments
 (0)