|
190 | 190 | <!-- TODO - rename stepKey -->
|
191 | 191 | <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/>
|
192 | 192 | </test>
|
| 193 | + <test name="PageBuilderCategoryVerifyCanDeleteContentTypesFromOnHoverOptionMenus" extends="PageBuilderProductVerifyCanDeleteContentTypesFromOnHoverOptionMenus"> |
| 194 | + <annotations> |
| 195 | + <features value="PageBuilder"/> |
| 196 | + <stories value="Catalog Category"/> |
| 197 | + <title value="Verify That User Can Delete Content Types From On-Hover Option Menus"/> |
| 198 | + <description value="This test is intended to ensure that users can delete content types from the on-hover option menus within the PageBuilder stage for Category Description."/> |
| 199 | + <severity value="CRITICAL"/> |
| 200 | + <useCaseId value="MC-3330"/> |
| 201 | + <testCaseId value="MC-14814"/> |
| 202 | + <group value="pagebuilder"/> |
| 203 | + <group value="pagebuilder-divider"/> |
| 204 | + <group value="pagebuilder-delete"/> |
| 205 | + <group value="pagebuilder-catalog-category"/> |
| 206 | + </annotations> |
| 207 | + <before> |
| 208 | + <comment userInput="---merging to remove step---" stepKey="createProduct"/> |
| 209 | + <!-- TODO - rename stepKey --> |
| 210 | + <actionGroup ref="navigateToCreatedCategory" stepKey="navigateToCreatedProductEditPage"> |
| 211 | + <argument name="Category" value="$$createPreReqCategory$$"/> |
| 212 | + </actionGroup> |
| 213 | + <!-- TODO - rename stepKey --> |
| 214 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 215 | + </before> |
| 216 | + <after> |
| 217 | + <!-- TODO - rename stepKey --> |
| 218 | + <comment userInput="---merging to remove step---" stepKey="deleteCreatedProduct"/> |
| 219 | + <comment userInput="---merging to remove step---" stepKey="NavigateToAndResetProductGridToDefaultView"/> |
| 220 | + </after> |
| 221 | + <!-- Save Category --> |
| 222 | + <!-- TODO rename stepKey --> |
| 223 | + <comment userInput="Save Category" stepKey="commentSaveProduct"/> |
| 224 | + <!-- TODO - rename stepKey --> |
| 225 | + <actionGroup ref="saveCategoryForm" stepKey="saveProduct"/> |
| 226 | + <!-- TODO - rename stepKey --> |
| 227 | + <waitForPageLoad stepKey="waitForPageLoadSaveProduct"/> |
| 228 | + <!-- TODO rename stepKey --> |
| 229 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 230 | + <!-- Save Category After Delete --> |
| 231 | + <!-- TODO rename stepKey --> |
| 232 | + <comment userInput="Save Category After Delete" stepKey="commentSaveProductAfterDelete"/> |
| 233 | + <actionGroup ref="saveCategoryForm" stepKey="saveProductAfterDelete"/> |
| 234 | + <!-- TODO rename stepKey --> |
| 235 | + <waitForPageLoad stepKey="waitForPageLoadSaveProductAfterDelete"/> |
| 236 | + <!-- TODO rename stepKey --> |
| 237 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSectionAfterDelete"/> |
| 238 | + <!-- Validate Storefront --> |
| 239 | + <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/> |
| 240 | + <!-- TODO - rename stepKey --> |
| 241 | + <amOnPage url="$$createPreReqCategory.name$$.html" stepKey="navigateToProductStorefront"/> |
| 242 | + <!-- TODO - rename stepKey --> |
| 243 | + <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/> |
| 244 | + </test> |
193 | 245 | </tests>
|
0 commit comments