File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
app/code/Magento/Catalog/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 64
64
<waitForPageLoad stepKey =" waitForPageTitleToBeSaved" />
65
65
<!-- Verify the Category Title-->
66
66
<see selector =" {{AdminCategoryContentSection.categoryPageTitle}}" userInput =" {{_defaultCategory.name}}" stepKey =" seePageTitle" />
67
+ <grabFromCurrentUrl stepKey =" categoryId" regex =" #\/([0-9]*)?\/$#" />
68
+ <!-- Assert Redirect path, Target Path and Redirect type in grid -->
69
+ <actionGroup ref =" AdminSearchByRequestPathActionGroup" stepKey =" searchByRequestPath" >
70
+ <argument name =" redirectPath" value =" {{_defaultCategory.name}}.html" />
71
+ <argument name =" redirectType" value =" Permanent (301)" />
72
+ <argument name =" targetPath" value =" catalog/category/view/id/{$categoryId}" />
73
+ </actionGroup >
74
+
67
75
<!-- Clear cache and reindex-->
68
76
<magentoCLI command =" indexer:reindex" stepKey =" reindex" />
69
77
<magentoCLI command =" cache:flush" stepKey =" flushCache" />
You can’t perform that action at this time.
0 commit comments