|
107 | 107 | <argument name="containerTargetIndex" value="1"/>
|
108 | 108 | </actionGroup>
|
109 | 109 | <comment userInput="Validate Column Height does not shrink to Tabs Height" stepKey="commentValidateColumnHeightWithTabs"/>
|
110 |
| - <executeJS function="{{PageBuilderActionsSection.computedHeightOnStage(PageBuilderTabsContentBlock.role,'1')}}" stepKey="actualStageTabsHeight"/> |
111 | 110 | <executeJS function="{{PageBuilderActionsSection.computedHeightOnStage(PageBuilderColumnContentBlock.role,'1')}}" stepKey="actualStageColumnHeightWithTabs"/>
|
112 | 111 | <assertEquals stepKey="assertColumnHeightDoesNotAdjustToTabsHeight">
|
113 | 112 | <expectedResult type="variable">actualStageInitialColumnHeight</expectedResult>
|
|
152 | 151 | </actionGroup>
|
153 | 152 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
154 | 153 | <comment userInput="Validate Column Height On Stage With Custom Min Height Matches Expected" stepKey="commentValidateColumnHeight"/>
|
155 |
| - <actionGroup ref="validateContentBlockHeightOnStageFromInteger" stepKey="assertInitialColumnHeightMatchesExpected"> |
156 |
| - <argument name="contentBlock" value="PageBuilderColumnContentBlock"/> |
157 |
| - <argument name="index" value="1"/> |
158 |
| - <argument name="expectedHeight" value="210"/> |
159 |
| - </actionGroup> |
| 154 | + <executeJS function="{{PageBuilderActionsSection.computedHeightOnStage(PageBuilderColumnContentBlock.role,'1')}}" stepKey="actualStageContentBlockHeight"/> |
| 155 | + <executeJS function="return Math.round({{PageBuilderAppearanceMinHeightProperty_200.value}} + {{PageBuilderAdvancedMarginsAndPaddingProperty.paddingTop}} + {{PageBuilderAdvancedMarginsAndPaddingProperty.paddingBottom}})" stepKey="expectedColumnHeight"/> |
| 156 | + <assertEquals stepKey="assertHeightOnStageMatchesExpected"> |
| 157 | + <expectedResult type="variable">actualStageContentBlockHeight</expectedResult> |
| 158 | + <actualResult type="variable">expectedColumnHeight</actualResult> |
| 159 | + </assertEquals> |
160 | 160 | <executeJS function="{{PageBuilderActionsSection.computedHeightOnStage(PageBuilderColumnContentBlock.role,'1')}}" stepKey="actualStageInitialColumnHeight"/>
|
161 | 161 | <comment userInput="Validate Row Height adjusts to Column Height" stepKey="commentValidateRowHeightAdjustToColumn"/>
|
162 | 162 | <executeJS function="{{PageBuilderActionsSection.computedHeightOnStage(PageBuilderRowContentBlock.role,'1')}}" stepKey="actualStageRowHeightWithColumns"/>
|
|
0 commit comments