Skip to content

Commit 3dde450

Browse files
committed
MC-3330: Add Missing P0-P1 MFTF Tests For PageBuilder On Catalog Category
Add PageBuilderCategoryVerifyCanEditContentTypesFromOnHoverOptionMenus
1 parent a90fa5c commit 3dde450

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
@@ -99,4 +99,48 @@
9999
<!-- TODO - rename stepKey -->
100100
<scrollTo selector="//div[@class='category-description']" stepKey="scrollToProductDescription"/>
101101
</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>
102146
</tests>

0 commit comments

Comments
 (0)