|
5 | 5 | * See COPYING.txt for license details.
|
6 | 6 | */
|
7 | 7 | -->
|
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"> |
10 | 9 | <test name="ViewportSwitcherMobileDuplicateContentTypesFromOnHoverOptionMenusTest">
|
11 | 10 | <annotations>
|
12 | 11 | <features value="PageBuilder"/>
|
|
50 | 49 | <actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterBackgroundColorRow">
|
51 | 50 | <argument name="property" value="PageBuilderBackgroundColor_Hex_Grey"/>
|
52 | 51 | </actionGroup>
|
| 52 | + <actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterMinimumHeightProperty"> |
| 53 | + <argument name="property" value="PageBuilderMinHeightProperty_100px"/> |
| 54 | + </actionGroup> |
53 | 55 | <actionGroup ref="saveEditPanelSettingsFullScreen" stepKey="saveEditFormForRow"/>
|
54 | 56 | <!-- Duplicate and Validate Stage -->
|
55 | 57 | <actionGroup ref="duplicateContentType" stepKey="duplicateRow">
|
|
66 | 68 | <argument name="expectedProperty" value="{{PageBuilderBackgroundColor_Hex_Grey.rgb}}"/>
|
67 | 69 | <argument name="cssProperty" value="backgroundColor"/>
|
68 | 70 | </actionGroup>
|
| 71 | + |
69 | 72 | <!-- Validate Edit Panel For Duplicate -->
|
70 | 73 | <actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuForRow2">
|
71 | 74 | <argument name="contentType" value="PageBuilderRowContentType"/>
|
|
80 | 83 | <actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
|
81 | 84 | <actionGroup ref="ExpandAdminProductSectionActionGroup" stepKey="expandAdminProductSection"/>
|
82 | 85 | <actionGroup ref="openPageBuilderForAttribute" stepKey="openPageBuilderForDescription"/>
|
| 86 | + |
83 | 87 | <!-- Validate Stage After Save Desktop Viewport -->
|
84 | 88 | <seeNumberOfElements selector="{{RowOnStage.allRows}}" userInput="2" stepKey="see2RowsStageAfterSave"/>
|
85 | 89 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeBackgroundColorRow1Stage2">
|
|
92 | 96 | <argument name="expectedProperty" value="{{PageBuilderBackgroundColor_Hex_Grey.rgb}}"/>
|
93 | 97 | <argument name="cssProperty" value="backgroundColor"/>
|
94 | 98 | </actionGroup>
|
| 99 | + |
95 | 100 | <!-- Validate Stage After Save Mobile Viewport -->
|
96 | 101 | <actionGroup ref="AdminSwitchPageBuilderViewportActionGroup" stepKey="switchToMobileViewportAfterSave">
|
97 | 102 | <argument name="viewportButton" value="mobile"/>
|
|
108 | 113 | <argument name="expectedProperty" value="{{PageBuilderBackgroundColor_Hex_Grey.rgb}}"/>
|
109 | 114 | <argument name="cssProperty" value="backgroundColor"/>
|
110 | 115 | </actionGroup>
|
| 116 | + |
111 | 117 | <!-- Navigate To Storefront -->
|
112 | 118 | <actionGroup ref="NavigateToStorefrontForCreatedPageActionGroup" stepKey="navigateToProductStorefront">
|
113 | 119 | <argument name="page" value="$$createProduct.name$$.html"/>
|
|
0 commit comments