|
99 | 99 | <!-- TODO - rename stepKey -->
|
100 | 100 | <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/>
|
101 | 101 | </test>
|
| 102 | + <test name="PageBuilderCategoryVerifyCanEditContentTypesFromOnHoverOptionMenus" extends="PageBuilderProductVerifyCanEditContentTypesFromOnHoverOptionMenus"> |
| 103 | + <annotations> |
| 104 | + <features value="PageBuilder"/> |
| 105 | + <stories value="Catalog Products"/> |
| 106 | + <title value="Verify That User Can Edit Content Types From On-Hover Option Menus"/> |
| 107 | + <description value="This test is intended to ensure that users can edit content types from the on-hover option menus within the PageBuilder stage for Category Description."/> |
| 108 | + <severity value="CRITICAL"/> |
| 109 | + <useCaseId value="MC-3330"/> |
| 110 | + <testCaseId value="MC-14811"/> |
| 111 | + <group value="pagebuilder"/> |
| 112 | + <group value="pagebuilder-row"/> |
| 113 | + <group value="pagebuilder-edit"/> |
| 114 | + <group value="pagebuilder-catalog-category"/> |
| 115 | + </annotations> |
| 116 | + <before> |
| 117 | + <comment userInput="---merging to remove step---" stepKey="createProduct"/> |
| 118 | + <!-- TODO - rename stepKey --> |
| 119 | + <actionGroup ref="navigateToCreatedCategory" stepKey="navigateToCreatedProductEditPage"> |
| 120 | + <argument name="Category" value="$$createPreReqCategory$$"/> |
| 121 | + </actionGroup> |
| 122 | + <!-- TODO - rename stepKey --> |
| 123 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 124 | + </before> |
| 125 | + <after> |
| 126 | + <!-- TODO - rename stepKey --> |
| 127 | + <comment userInput="---merging to remove step---" stepKey="deleteCreatedProduct"/> |
| 128 | + <comment userInput="---merging to remove step---" stepKey="NavigateToAndResetProductGridToDefaultView"/> |
| 129 | + </after> |
| 130 | + <!-- Save Category --> |
| 131 | + <!-- TODO rename stepKey --> |
| 132 | + <comment userInput="Save Category" stepKey="commentSaveProduct"/> |
| 133 | + <!-- TODO - rename stepKey --> |
| 134 | + <actionGroup ref="saveCategoryForm" stepKey="saveProduct"/> |
| 135 | + <!-- TODO - rename stepKey --> |
| 136 | + <waitForPageLoad stepKey="waitForPageLoadSaveProduct"/> |
| 137 | + <!-- TODO rename stepKey --> |
| 138 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 139 | + <!-- Validate Storefront --> |
| 140 | + <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/> |
| 141 | + <!-- TODO - rename stepKey --> |
| 142 | + <amOnPage url="$$createPreReqCategory.name$$.html" stepKey="navigateToProductStorefront"/> |
| 143 | + <!-- TODO - rename stepKey --> |
| 144 | + <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/> |
| 145 | + </test> |
102 | 146 | </tests>
|
0 commit comments