File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
app/code/Magento/Catalog/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 19
19
<group value =" Catalog" />
20
20
</annotations >
21
21
22
- <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
22
+ <before >
23
+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
24
+ </before >
23
25
24
26
<actionGroup ref =" AdminOpenCategoryPageActionGroup" stepKey =" amOnAdminCategoryPage" />
25
27
<scrollToTopOfPage stepKey =" scrollToTopOfPage1" />
81
83
<actionGroup ref =" StorefrontNavigateToCategoryUrlActionGroup" stepKey =" goToCategoryStorefrontPage1" >
82
84
<argument name =" categoryUrl" value =" {{SubCategory.urlKey}}" />
83
85
</actionGroup >
84
- <see userInput =" {{NewCategory .name}}" selector =" {{StorefrontCategoryMainSection.CategoryTitle}}" stepKey =" assertCategoryNewHtmlOnStorefront" />
86
+ <see userInput =" {{SubCategory .name}}" selector =" {{StorefrontCategoryMainSection.CategoryTitle}}" stepKey =" assertCategoryNewHtmlOnStorefront" />
85
87
86
88
<!-- Check on storefront that category was created, Its URL path is '.../cat1/new.html'-->
87
89
<amOnPage url =" /{{FirstLevelSubCat.name}}/{{SubCategory.name}}.html" stepKey =" goToConfigProductPage1" />
93
95
94
96
<after >
95
97
<actionGroup ref =" AdminOpenCategoryPageActionGroup" stepKey =" goToCategoryPage1" />
96
- <wait stepKey =" k3" time =" 100" />
97
98
<click selector =" {{AdminCategorySidebarTreeSection.categoryInTree(SecondLevelSubCat.name)}}" stepKey =" clickCategoryLink" />
98
99
<click selector =" {{AdminCategoryMainActionsSection.DeleteButton}}" stepKey =" clickDelete" />
99
100
<waitForElementVisible selector =" {{AdminCategoryModalSection.message}}" stepKey =" waitForConfirmationModal" />
129
130
130
131
</test >
131
132
</tests >
133
+
You can’t perform that action at this time.
0 commit comments