|
242 | 242 | <!-- TODO - rename stepKey -->
|
243 | 243 | <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/>
|
244 | 244 | </test>
|
| 245 | + <test name="PageBuilderCategoryVerifyCanAddChildContentTypesFromOnHoverOptionMenus" extends="PageBuilderProductVerifyCanAddChildContentTypesFromOnHoverOptionMenus"> |
| 246 | + <annotations> |
| 247 | + <features value="PageBuilder"/> |
| 248 | + <stories value="Catalog Category"/> |
| 249 | + <title value="Verify That User Can Add Child Content Types From On-Hover Option Menus"/> |
| 250 | + <description value="This test is intended to ensure that users can add child content types from the on-hover option menus within the PageBuilder stage for Category Description."/> |
| 251 | + <severity value="CRITICAL"/> |
| 252 | + <useCaseId value="MC-3330"/> |
| 253 | + <testCaseId value="MC-14827"/> |
| 254 | + <group value="pagebuilder"/> |
| 255 | + <group value="pagebuilder-buttons"/> |
| 256 | + <group value="pagebuilder-add"/> |
| 257 | + <group value="pagebuilder-catalog-category"/> |
| 258 | + </annotations> |
| 259 | + <before> |
| 260 | + <comment userInput="---merging to remove step---" stepKey="createProduct"/> |
| 261 | + <!-- TODO - rename stepKey --> |
| 262 | + <actionGroup ref="navigateToCreatedCategory" stepKey="navigateToCreatedProductEditPage"> |
| 263 | + <argument name="Category" value="$$createPreReqCategory$$"/> |
| 264 | + </actionGroup> |
| 265 | + <!-- TODO - rename stepKey --> |
| 266 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 267 | + </before> |
| 268 | + <after> |
| 269 | + <!-- TODO - rename stepKey --> |
| 270 | + <comment userInput="---merging to remove step---" stepKey="deleteCreatedProduct"/> |
| 271 | + <comment userInput="---merging to remove step---" stepKey="NavigateToAndResetProductGridToDefaultView"/> |
| 272 | + </after> |
| 273 | + <!-- Save Category --> |
| 274 | + <!-- TODO rename stepKey --> |
| 275 | + <comment userInput="Save Category" stepKey="commentSaveProduct"/> |
| 276 | + <!-- TODO - rename stepKey --> |
| 277 | + <actionGroup ref="saveCategoryForm" stepKey="saveProduct"/> |
| 278 | + <!-- TODO - rename stepKey --> |
| 279 | + <waitForPageLoad stepKey="waitForPageLoadSaveProduct"/> |
| 280 | + <!-- TODO rename stepKey --> |
| 281 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 282 | + <!-- Validate Storefront --> |
| 283 | + <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/> |
| 284 | + <!-- TODO - rename stepKey --> |
| 285 | + <amOnPage url="$$createPreReqCategory.name$$.html" stepKey="navigateToProductStorefront"/> |
| 286 | + <!-- TODO - rename stepKey --> |
| 287 | + <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/> |
| 288 | + </test> |
245 | 289 | </tests>
|
0 commit comments