Skip to content

Commit 87ddb48

Browse files
committed
MC-3330: Add Missing P0-P1 MFTF Tests For PageBuilder On Catalog Category
Add PageBuilderCategoryVerifyCanAddChildContentTypesFromOnHoverOptionMenus
1 parent 1463ea0 commit 87ddb48

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCatalogCategoryPageBuilder.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,4 +242,48 @@
242242
<!-- TODO - rename stepKey -->
243243
<scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/>
244244
</test>
245+
<test name="PageBuilderCategoryVerifyCanAddChildContentTypesFromOnHoverOptionMenus" extends="PageBuilderProductVerifyCanAddChildContentTypesFromOnHoverOptionMenus">
246+
<annotations>
247+
<features value="PageBuilder"/>
248+
<stories value="Catalog Category"/>
249+
<title value="Verify That User Can Add Child Content Types From On-Hover Option Menus"/>
250+
<description value="This test is intended to ensure that users can add child content types from the on-hover option menus within the PageBuilder stage for Category Description."/>
251+
<severity value="CRITICAL"/>
252+
<useCaseId value="MC-3330"/>
253+
<testCaseId value="MC-14827"/>
254+
<group value="pagebuilder"/>
255+
<group value="pagebuilder-buttons"/>
256+
<group value="pagebuilder-add"/>
257+
<group value="pagebuilder-catalog-category"/>
258+
</annotations>
259+
<before>
260+
<comment userInput="---merging to remove step---" stepKey="createProduct"/>
261+
<!-- TODO - rename stepKey -->
262+
<actionGroup ref="navigateToCreatedCategory" stepKey="navigateToCreatedProductEditPage">
263+
<argument name="Category" value="$$createPreReqCategory$$"/>
264+
</actionGroup>
265+
<!-- TODO - rename stepKey -->
266+
<conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/>
267+
</before>
268+
<after>
269+
<!-- TODO - rename stepKey -->
270+
<comment userInput="---merging to remove step---" stepKey="deleteCreatedProduct"/>
271+
<comment userInput="---merging to remove step---" stepKey="NavigateToAndResetProductGridToDefaultView"/>
272+
</after>
273+
<!-- Save Category -->
274+
<!-- TODO rename stepKey -->
275+
<comment userInput="Save Category" stepKey="commentSaveProduct"/>
276+
<!-- TODO - rename stepKey -->
277+
<actionGroup ref="saveCategoryForm" stepKey="saveProduct"/>
278+
<!-- TODO - rename stepKey -->
279+
<waitForPageLoad stepKey="waitForPageLoadSaveProduct"/>
280+
<!-- TODO rename stepKey -->
281+
<conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="expandAdminProductSection"/>
282+
<!-- Validate Storefront -->
283+
<comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/>
284+
<!-- TODO - rename stepKey -->
285+
<amOnPage url="$$createPreReqCategory.name$$.html" stepKey="navigateToProductStorefront"/>
286+
<!-- TODO - rename stepKey -->
287+
<scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/>
288+
</test>
245289
</tests>

0 commit comments

Comments
 (0)