Skip to content

Commit 8877f19

Browse files
committed
#559: User Sees No Predefined Gutters
- Fixing Functional Tests
1 parent fe253f4 commit 8877f19

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/ViewportSwitcherMobile/ViewportSwitcherMobileDuplicateContentTypesFromOnHoverOptionMenusTest.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
8+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
109
<test name="ViewportSwitcherMobileDuplicateContentTypesFromOnHoverOptionMenusTest">
1110
<annotations>
1211
<features value="PageBuilder"/>
@@ -50,6 +49,9 @@
5049
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterBackgroundColorRow">
5150
<argument name="property" value="PageBuilderBackgroundColor_Hex_Grey"/>
5251
</actionGroup>
52+
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterMinimumHeightProperty">
53+
<argument name="property" value="PageBuilderMinHeightProperty_100px"/>
54+
</actionGroup>
5355
<actionGroup ref="saveEditPanelSettingsFullScreen" stepKey="saveEditFormForRow"/>
5456
<!-- Duplicate and Validate Stage -->
5557
<actionGroup ref="duplicateContentType" stepKey="duplicateRow">
@@ -66,6 +68,7 @@
6668
<argument name="expectedProperty" value="{{PageBuilderBackgroundColor_Hex_Grey.rgb}}"/>
6769
<argument name="cssProperty" value="backgroundColor"/>
6870
</actionGroup>
71+
6972
<!-- Validate Edit Panel For Duplicate -->
7073
<actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuForRow2">
7174
<argument name="contentType" value="PageBuilderRowContentType"/>
@@ -80,6 +83,7 @@
8083
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
8184
<actionGroup ref="ExpandAdminProductSectionActionGroup" stepKey="expandAdminProductSection"/>
8285
<actionGroup ref="openPageBuilderForAttribute" stepKey="openPageBuilderForDescription"/>
86+
8387
<!-- Validate Stage After Save Desktop Viewport -->
8488
<seeNumberOfElements selector="{{RowOnStage.allRows}}" userInput="2" stepKey="see2RowsStageAfterSave"/>
8589
<actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeBackgroundColorRow1Stage2">
@@ -92,6 +96,7 @@
9296
<argument name="expectedProperty" value="{{PageBuilderBackgroundColor_Hex_Grey.rgb}}"/>
9397
<argument name="cssProperty" value="backgroundColor"/>
9498
</actionGroup>
99+
95100
<!-- Validate Stage After Save Mobile Viewport -->
96101
<actionGroup ref="AdminSwitchPageBuilderViewportActionGroup" stepKey="switchToMobileViewportAfterSave">
97102
<argument name="viewportButton" value="mobile"/>
@@ -108,6 +113,7 @@
108113
<argument name="expectedProperty" value="{{PageBuilderBackgroundColor_Hex_Grey.rgb}}"/>
109114
<argument name="cssProperty" value="backgroundColor"/>
110115
</actionGroup>
116+
111117
<!-- Navigate To Storefront -->
112118
<actionGroup ref="NavigateToStorefrontForCreatedPageActionGroup" stepKey="navigateToProductStorefront">
113119
<argument name="page" value="$$createProduct.name$$.html"/>

0 commit comments

Comments
 (0)