Skip to content

Commit 26d03a3

Browse files
committed
Updating AdminUrlRewritesForProductInAnchorCategoriesTestAllStoreViewTest which extends AdminUrlRewritesForProductInAnchorCategoriesTest
1 parent a16b5a7 commit 26d03a3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/code/Magento/UrlRewrite/Test/Mftf/Test/AdminUrlRewritesForProductInAnchorCategoriesTest/AdminUrlRewritesForProductInAnchorCategoriesTestAllStoreViewTest.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@
2828
</before>
2929
<remove keyForRemoval="switchStoreView"/>
3030
<!-- 3. Edit Category 1 for All store view: -->
31-
<actionGroup ref="NavigateToCreatedCategoryActionGroup" stepKey="goToCategoryPage" after="seeValue4">
31+
<actionGroup ref="NavigateToCreatedCategoryActionGroup" stepKey="goToCategoryPage" after="seeValueFour">
3232
<argument name="Category" value="$$simpleSubCategory1$$"/>
3333
</actionGroup>
34-
<remove keyForRemoval="uncheckRedirect2"/>
34+
<remove keyForRemoval="changeFirstCategoryUrlKey"/>
35+
<!-- 4. Change URL key for category and save changes -->
36+
<actionGroup ref="ChangeSeoUrlKeyActionGroup" stepKey="changeCategoryUrlKey" after="goToCategoryPage">
37+
<argument name="value" value="$simpleSubCategory1.custom_attributes[url_key]$new"/>
38+
</actionGroup>
3539
</test>
3640
</tests>

0 commit comments

Comments
 (0)