|
143 | 143 | <!-- TODO - rename stepKey -->
|
144 | 144 | <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/>
|
145 | 145 | </test>
|
| 146 | + <test name="PageBuilderCategoryVerifyCanDuplicateContentTypesFromOnHoverOptionMenus" extends="PageBuilderProductVerifyCanDuplicateContentTypesFromOnHoverOptionMenus"> |
| 147 | + <annotations> |
| 148 | + <features value="PageBuilder"/> |
| 149 | + <stories value="Catalog Category"/> |
| 150 | + <title value="Verify That User Can Duplicate Content Types From On-Hover Option Menus"/> |
| 151 | + <description value="This test is intended to ensure that users can duplicate content types from the on-hover option menus within the PageBuilder stage for Category Description."/> |
| 152 | + <severity value="CRITICAL"/> |
| 153 | + <useCaseId value="MC-3330"/> |
| 154 | + <testCaseId value="MC-14812"/> |
| 155 | + <group value="pagebuilder"/> |
| 156 | + <group value="pagebuilder-row"/> |
| 157 | + <group value="pagebuilder-duplicate"/> |
| 158 | + <group value="pagebuilder-catalog-category"/> |
| 159 | + </annotations> |
| 160 | + <before> |
| 161 | + <comment userInput="---merging to remove step---" stepKey="createProduct"/> |
| 162 | + <!-- TODO - rename stepKey --> |
| 163 | + <actionGroup ref="navigateToCreatedCategory" stepKey="navigateToCreatedProductEditPage"> |
| 164 | + <argument name="Category" value="$$createPreReqCategory$$"/> |
| 165 | + </actionGroup> |
| 166 | + <!-- TODO - rename stepKey --> |
| 167 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 168 | + </before> |
| 169 | + <after> |
| 170 | + <!-- TODO - rename stepKey --> |
| 171 | + <comment userInput="---merging to remove step---" stepKey="deleteCreatedProduct"/> |
| 172 | + <comment userInput="---merging to remove step---" stepKey="NavigateToAndResetProductGridToDefaultView"/> |
| 173 | + </after> |
| 174 | + <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanel"> |
| 175 | + <argument name="baseContent" value="{{AdminCategoryMainActionsSection.SaveButton}}" /> |
| 176 | + </actionGroup> |
| 177 | + <!-- Save Category --> |
| 178 | + <!-- TODO rename stepKey --> |
| 179 | + <comment userInput="Save Category" stepKey="commentSaveProduct"/> |
| 180 | + <!-- TODO - rename stepKey --> |
| 181 | + <actionGroup ref="saveCategoryForm" stepKey="saveProduct"/> |
| 182 | + <!-- TODO - rename stepKey --> |
| 183 | + <waitForPageLoad stepKey="waitForPageLoadSaveProduct"/> |
| 184 | + <!-- TODO rename stepKey --> |
| 185 | + <conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/> |
| 186 | + <!-- Validate Storefront --> |
| 187 | + <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/> |
| 188 | + <!-- TODO - rename stepKey --> |
| 189 | + <amOnPage url="$$createPreReqCategory.name$$.html" stepKey="navigateToProductStorefront"/> |
| 190 | + <!-- TODO - rename stepKey --> |
| 191 | + <scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/> |
| 192 | + </test> |
146 | 193 | </tests>
|
0 commit comments