|
330 | 330 | <!-- TODO - rename stepKey -->
|
331 | 331 | <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/>
|
332 | 332 | </test>
|
| 333 | + <test name="PageBuilderCategoryVerifyCanDuplicateContentTypesFromOnClickOptionMenus" extends="PageBuilderProductVerifyCanDuplicateContentTypesFromOnClickOptionMenus"> |
| 334 | + <annotations> |
| 335 | + <features value="PageBuilder"/> |
| 336 | + <stories value="Catalog Category"/> |
| 337 | + <title value="Verify That User Can Duplicate Content Types From On-Click Option Menus"/> |
| 338 | + <description value="This test is intended to ensure that users can duplicate content types from the on-click option menus within the PageBuilder stage for Category Description."/> |
| 339 | + <severity value="CRITICAL"/> |
| 340 | + <useCaseId value="MC-3330"/> |
| 341 | + <testCaseId value="MC-14829"/> |
| 342 | + <group value="pagebuilder"/> |
| 343 | + <group value="pagebuilder-buttons"/> |
| 344 | + <group value="pagebuilder-duplicate"/> |
| 345 | + <group value="pagebuilder-catalog-category"/> |
| 346 | + </annotations> |
| 347 | + <before> |
| 348 | + <comment userInput="---merging to remove step---" stepKey="createProduct"/> |
| 349 | + <!-- TODO - rename stepKey --> |
| 350 | + <actionGroup ref="navigateToCreatedCategory" stepKey="navigateToCreatedProductEditPage"> |
| 351 | + <argument name="Category" value="$$createPreReqCategory$$"/> |
| 352 | + </actionGroup> |
| 353 | + <!-- TODO - rename stepKey --> |
| 354 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 355 | + </before> |
| 356 | + <after> |
| 357 | + <!-- TODO - rename stepKey --> |
| 358 | + <comment userInput="---merging to remove step---" stepKey="deleteCreatedProduct"/> |
| 359 | + <comment userInput="---merging to remove step---" stepKey="NavigateToAndResetProductGridToDefaultView"/> |
| 360 | + </after> |
| 361 | + <!-- Save Category --> |
| 362 | + <!-- TODO rename stepKey --> |
| 363 | + <comment userInput="Save Category" stepKey="commentSaveProduct"/> |
| 364 | + <!-- TODO - rename stepKey --> |
| 365 | + <actionGroup ref="saveCategoryForm" stepKey="saveProduct"/> |
| 366 | + <!-- TODO - rename stepKey --> |
| 367 | + <waitForPageLoad stepKey="waitForPageLoadSaveProduct"/> |
| 368 | + <!-- TODO rename stepKey --> |
| 369 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 370 | + <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanel"> |
| 371 | + <argument name="baseContent" value="{{AdminCategoryMainActionsSection.SaveButton}}" /> |
| 372 | + </actionGroup> |
| 373 | + <!-- Validate Storefront --> |
| 374 | + <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/> |
| 375 | + <!-- TODO - rename stepKey --> |
| 376 | + <amOnPage url="$$createPreReqCategory.name$$.html" stepKey="navigateToProductStorefront"/> |
| 377 | + <!-- TODO - rename stepKey --> |
| 378 | + <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/> |
| 379 | + </test> |
333 | 380 | </tests>
|
0 commit comments