|
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="BlockRenderTabsThroughBlockContentTypeTest">
|
11 | 10 | <annotations>
|
12 | 11 | <features value="PageBuilder"/>
|
|
57 | 56 | <actionGroup ref="addChildContentTypeFromOptionMenu" stepKey="addChildContentType">
|
58 | 57 | <argument name="contentType" value="PageBuilderTabsContentType"/>
|
59 | 58 | </actionGroup>
|
| 59 | + |
60 | 60 | <!-- Edit Tab Group -->
|
61 | 61 | <comment userInput="Edit Tab Group" stepKey="commentEditTabs"/>
|
62 | 62 | <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuTabs">
|
|
72 | 72 | <argument name="property" value="PageBuilderTabsAlignmentCenter"/>
|
73 | 73 | </actionGroup>
|
74 | 74 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsTabs"/>
|
| 75 | + |
75 | 76 | <!-- Edit Tab 1 -->
|
76 | 77 | <comment userInput="Edit Tab 1" stepKey="commentEditTab1"/>
|
77 | 78 | <actionGroup ref="openPageBuilderEditPanelSmallByIndex" stepKey="openEditPanelTab1">
|
|
109 | 110 | <argument name="property" value="PageBuilderTabVerticalAlignmentPropertyCenter"/>
|
110 | 111 | </actionGroup>
|
111 | 112 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsTab1"/>
|
112 |
| - <!-- Add Divider To Tab 1 --> |
| 113 | + <!-- Add Divider --> |
113 | 114 | <comment userInput="Add Divider To Tab 1" stepKey="commentAddDividerToTab1"/>
|
114 | 115 | <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPanelDividerMenuSection">
|
115 | 116 | <argument name="contentType" value="PageBuilderDividerContentType"/>
|
|
119 | 120 | <argument name="containerTargetType" value="PageBuilderTabContentType"/>
|
120 | 121 | <argument name="containerTargetIndex" value="1"/>
|
121 | 122 | </actionGroup>
|
| 123 | + |
122 | 124 | <!-- Edit Tab 2 -->
|
123 | 125 | <comment userInput="Edit Tab 2" stepKey="commentEditTab2"/>
|
124 | 126 | <actionGroup ref="openPageBuilderEditPanelSmallByIndex" stepKey="openEditPanelTab2">
|
|
135 | 137 | <actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreenBeforeSave"/>
|
136 | 138 | <actionGroup ref="SaveCMSBlockActionGroup" stepKey="saveCMSBlock"/>
|
137 | 139 | <actionGroup ref="AdminOpenPageBuilderFromContentPreviewOverlayActionGroup" stepKey="openPageBuilderFullScreen"/>
|
| 140 | + |
138 | 141 | <!-- Validate CMS Block Stage -->
|
139 | 142 | <comment userInput="Validate CMS Block Stage" stepKey="commentValidateCMSBlockStage"/>
|
140 | 143 | <seeElement selector="{{TabOnStage.tabHeaderItemActive('2')}}" stepKey="seeTab2ActiveCMSBlockStage"/>
|
|
191 | 194 | <actionGroup ref="validateContentTypeHeightEqualToMinHeightPlusPaddingAndBorder" stepKey="validateTab1MinHeightCMSBlockStage">
|
192 | 195 | <argument name="content" value="{{TabOnStage.tabContentCSS}}"/>
|
193 | 196 | <argument name="minHeight" value="{{PageBuilderTabMinimumHeight200Property.value}}"/>
|
194 |
| - <argument name="paddingTop" value="{{PageBuilderPaddingProperty40.paddingTop}}"/> |
195 |
| - <argument name="paddingBottom" value="{{PageBuilderPaddingProperty40.paddingBottom}}"/> |
196 | 197 | <argument name="borderWidth" value="{{PageBuilderAdvancedBorderWidthPropertyDefault.value}}"/>
|
197 | 198 | <argument name="index" value="1"/>
|
198 | 199 | </actionGroup>
|
199 | 200 | <seeElement selector="{{DividerOnStage.base('1')}}" stepKey="seeDividerCMSBlockStage"/>
|
200 | 201 | <actionGroup ref="validateDividerWidthPercentage" stepKey="validateDividerWidthCMSBlockStage">
|
201 | 202 | <argument name="page" value="DividerOnStage"/>
|
202 | 203 | </actionGroup>
|
| 204 | + |
203 | 205 | <!-- Add Block to CMS Page -->
|
204 | 206 | <comment userInput="Add Block to CMS Page" stepKey="commentAddBlockToCMSPage"/>
|
205 | 207 | <actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateToCreatedCMSPage">
|
|
219 | 221 | <argument name="block" value="$$createCMSBlock$$"/>
|
220 | 222 | </actionGroup>
|
221 | 223 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsBlock"/>
|
| 224 | + |
222 | 225 | <!-- Validate CMS Page Stage -->
|
223 | 226 | <comment userInput="Validate CMS Page Stage" stepKey="commentValidateCMSPageStage"/>
|
224 | 227 | <seeElement selector="{{TabOnStorefront.tabHeaderItemActive('2')}}" stepKey="seeTab2ActiveCMSPageStage"/>
|
|
247 | 250 | <actionGroup ref="validateContentTypeHeightEqualToMinHeightPlusPaddingAndBorder" stepKey="validateTab2MinHeightCMSPageStage">
|
248 | 251 | <argument name="content" value="{{TabOnStorefront.tabContentCSS}}"/>
|
249 | 252 | <argument name="minHeight" value="{{PageBuilderTabMinHeight0Property.value}}"/>
|
250 |
| - <argument name="paddingTop" value="{{PageBuilderPaddingProperty40.paddingTop}}"/> |
251 |
| - <argument name="paddingBottom" value="{{PageBuilderPaddingProperty40.paddingBottom}}"/> |
| 253 | + <argument name="paddingTop" value="{{PageBuilderPaddingProperty20.paddingTop}}"/> |
| 254 | + <argument name="paddingBottom" value="{{PageBuilderPaddingProperty20.paddingBottom}}"/> |
252 | 255 | <argument name="index" value="2"/>
|
253 | 256 | </actionGroup>
|
254 | 257 | <actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen"/>
|
255 | 258 | <actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage"/>
|
| 259 | + |
256 | 260 | <!-- Validate CMS Page Storefront -->
|
257 | 261 | <comment userInput="Validate CMS Page Storefront" stepKey="commentValidateCMSPageStorefront"/>
|
258 | 262 | <actionGroup ref="NavigateToStorefrontForCreatedPageActionGroup" stepKey="navigateToCMSPageStorefront">
|
|
329 | 333 | <actionGroup ref="validateDividerWidthPercentage" stepKey="validateDividerWidthCMSPageStorefront">
|
330 | 334 | <argument name="page" value="DividerOnStorefront"/>
|
331 | 335 | </actionGroup>
|
| 336 | + |
332 | 337 | <!-- Validate CMS Page Storefront Mobile -->
|
333 | 338 | <comment userInput="Validate CMS Page Storefront Mobile" stepKey="commentValidateCMSPageStorefrontMobile"/>
|
334 | 339 | <resizeWindow width="767" height="1000" stepKey="resizeWindowToMobileCMSPageStorefrontMobile"/>
|
|
368 | 373 | <argument name="index" value="2"/>
|
369 | 374 | </actionGroup>
|
370 | 375 | <resizeWindow width="1280" height="1024" stepKey="resizeWindowToDesktop"/>
|
| 376 | + |
371 | 377 | <!-- Change Default Tab -->
|
372 | 378 | <comment userInput="Change Default Tab" stepKey="commentChangeDefaultTab"/>
|
373 | 379 | <actionGroup ref="NavigateToCreatedCMSBlockPageActionGroup" stepKey="navigateToCreatedCMSBlockPage1">
|
|
392 | 398 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsTabs2"/>
|
393 | 399 | <actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen2"/>
|
394 | 400 | <actionGroup ref="SaveCMSBlockActionGroup" stepKey="saveCMSBlock2"/>
|
| 401 | + |
395 | 402 | <!-- Validate CMS Page Stage Again -->
|
396 | 403 | <comment userInput="Validate CMS Page Stage Again" stepKey="commentValidateCMSPageStageAgain"/>
|
397 | 404 | <actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateToCreatedCMSPage2">
|
|
0 commit comments