|
286 | 286 | <!-- TODO - rename stepKey -->
|
287 | 287 | <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/>
|
288 | 288 | </test>
|
| 289 | + <test name="PageBuilderCategoryVerifyCanEditContentTypesFromOnClickOptionMenus" extends="PageBuilderProductVerifyCanAddChildContentTypesFromOnHoverOptionMenus"> |
| 290 | + <annotations> |
| 291 | + <features value="PageBuilder"/> |
| 292 | + <stories value="Catalog Category"/> |
| 293 | + <title value="Verify That User Can Edit Content Types From On-Click Option Menus"/> |
| 294 | + <description value="This test is intended to ensure that users can edit content types from the on-click option menus within the PageBuilder stage for Category Description."/> |
| 295 | + <severity value="CRITICAL"/> |
| 296 | + <useCaseId value="MC-3330"/> |
| 297 | + <testCaseId value="MC-14828"/> |
| 298 | + <group value="pagebuilder"/> |
| 299 | + <group value="pagebuilder-slide"/> |
| 300 | + <group value="pagebuilder-edit"/> |
| 301 | + <group value="pagebuilder-catalog-category"/> |
| 302 | + </annotations> |
| 303 | + <before> |
| 304 | + <comment userInput="---merging to remove step---" stepKey="createProduct"/> |
| 305 | + <!-- TODO - rename stepKey --> |
| 306 | + <actionGroup ref="navigateToCreatedCategory" stepKey="navigateToCreatedProductEditPage"> |
| 307 | + <argument name="Category" value="$$createPreReqCategory$$"/> |
| 308 | + </actionGroup> |
| 309 | + <!-- TODO - rename stepKey --> |
| 310 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 311 | + </before> |
| 312 | + <after> |
| 313 | + <!-- TODO - rename stepKey --> |
| 314 | + <comment userInput="---merging to remove step---" stepKey="deleteCreatedProduct"/> |
| 315 | + <comment userInput="---merging to remove step---" stepKey="NavigateToAndResetProductGridToDefaultView"/> |
| 316 | + </after> |
| 317 | + <!-- Save Category --> |
| 318 | + <!-- TODO rename stepKey --> |
| 319 | + <comment userInput="Save Category" stepKey="commentSaveProduct"/> |
| 320 | + <!-- TODO - rename stepKey --> |
| 321 | + <actionGroup ref="saveCategoryForm" stepKey="saveProduct"/> |
| 322 | + <!-- TODO - rename stepKey --> |
| 323 | + <waitForPageLoad stepKey="waitForPageLoadSaveProduct"/> |
| 324 | + <!-- TODO rename stepKey --> |
| 325 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 326 | + <!-- Validate Storefront --> |
| 327 | + <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/> |
| 328 | + <!-- TODO - rename stepKey --> |
| 329 | + <amOnPage url="$$createPreReqCategory.name$$.html" stepKey="navigateToProductStorefront"/> |
| 330 | + <!-- TODO - rename stepKey --> |
| 331 | + <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/> |
| 332 | + </test> |
289 | 333 | </tests>
|
0 commit comments