|
168 | 168 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
|
169 | 169 | <waitForElementVisible selector="{{TabOnStage.minHeight('1', PageBuilderMinHeightProperty_500.value)}}" stepKey="seeTabMinHeightAfterSave"/>
|
170 | 170 | </test>
|
| 171 | + <test name="TabItemWithBordersAndPaddingEqualToMinHeight" extends="RowWithBordersAndPaddingEqualToMinHeight"> |
| 172 | + <annotations> |
| 173 | + <features value="PageBuilder"/> |
| 174 | + <stories value="Tab"/> |
| 175 | + <title value="Tab Item - Height is equal to min height"/> |
| 176 | + <description value="A user can see Tab Item height with borders and padding is equal to min height"/> |
| 177 | + <severity value="CRITICAL"/> |
| 178 | + <useCaseId value="MC-5079"/> |
| 179 | + <testCaseId value="MC-5776"/> |
| 180 | + <group value="pagebuilder"/> |
| 181 | + <group value="pagebuilder-tabs"/> |
| 182 | + <group value="pagebuilder-tabsLayout"/> |
| 183 | + </annotations> |
| 184 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
| 185 | + <argument name="contentType" value="PageBuilderTabsContentType"/> |
| 186 | + </actionGroup> |
| 187 | + <actionGroup ref="dragContentTypeToStage" after="commentConfigureContentType" stepKey="dragContentTypeToStage"> |
| 188 | + <argument name="contentType" value="PageBuilderTabsContentType"/> |
| 189 | + </actionGroup> |
| 190 | + <actionGroup ref="openPageBuilderEditPanelSmallByIndex" stepKey="openEditPanel"> |
| 191 | + <argument name="section" value="TabOnStage"/> |
| 192 | + </actionGroup> |
| 193 | + <actionGroup ref="validateContentTypeHeightEqualToMinHeight" stepKey="validateContentTypeHeightBeforeSave"> |
| 194 | + <argument name="content" value="{{TabOnStage.tabContentCSS}}"/> |
| 195 | + <argument name="border" value="PageBuilderAdvancedBorderWidthProperty10"/> |
| 196 | + <argument name="padding" value="PageBuilderPaddingProperty10"/> |
| 197 | + </actionGroup> |
| 198 | + <actionGroup ref="validateContentTypeHeightEqualToMinHeight" stepKey="validateContentTypeHeightAfterSave"> |
| 199 | + <argument name="content" value="{{TabOnStage.tabContentCSS}}"/> |
| 200 | + <argument name="border" value="PageBuilderAdvancedBorderWidthProperty10"/> |
| 201 | + <argument name="padding" value="PageBuilderPaddingProperty10"/> |
| 202 | + </actionGroup> |
| 203 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
| 204 | + <argument name="contentType" value="PageBuilderTabsContentType"/> |
| 205 | + </actionGroup> |
| 206 | + <actionGroup ref="validateContentTypeHeightEqualToMinHeight" stepKey="validateContentTypeHeightStorefront"> |
| 207 | + <argument name="content" value="{{TabOnStorefront.tabContentCSS}}"/> |
| 208 | + </actionGroup> |
| 209 | + </test> |
171 | 210 | <test name="TabContentIsVerticallyAlignedTop">
|
172 | 211 | <annotations>
|
173 | 212 | <features value="PageBuilder"/>
|
|
0 commit comments