File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
app/code/Magento/PageBuilder/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 87
87
</actionGroup >
88
88
<actionGroup ref =" saveEditPanelSettings" stepKey =" saveEditPanelSettings" />
89
89
<comment userInput =" Validate Column Height On Stage With Custom Min Height Matches Expected" stepKey =" commentValidateColumnHeight" />
90
- <actionGroup ref =" validateContentTypeHeightOnStage " stepKey =" assertInitialColumnHeightMatchesExpected" >
90
+ <actionGroup ref =" validateContentTypeHeightOnStageWithoutPadding " stepKey =" assertInitialColumnHeightMatchesExpected" >
91
91
<argument name =" contentType" value =" PageBuilderColumnContentType" />
92
92
<argument name =" index" value =" 1" />
93
93
<argument name =" containerDefaultHeight" value =" PageBuilderMinHeightProperty_500" />
94
- <argument name =" expectedPaddingTop" value =" PageBuilderPaddingProperty10" />
95
- <argument name =" expectedPaddingBottom" value =" PageBuilderPaddingProperty10" />
96
94
</actionGroup >
97
95
<executeJS function =" {{PageBuilderStage.computedHeightOnStage(PageBuilderColumnContentType.role,'1')}}" stepKey =" actualStageInitialColumnHeight" />
98
96
<comment userInput =" Validate Row Height adjusts to Column Height" stepKey =" commentValidateRowHeightAdjustToColumn" />
156
154
<actionGroup ref =" saveEditPanelSettings" stepKey =" saveEditPanelSettings" />
157
155
<comment userInput =" Validate Column Height On Stage With Custom Min Height Matches Expected" stepKey =" commentValidateColumnHeight" />
158
156
<executeJS function =" {{PageBuilderStage.computedHeightOnStage(PageBuilderColumnContentType.role,'1')}}" stepKey =" actualStageContentTypeHeight" />
159
- <executeJS function =" return Math.round({{PageBuilderMinHeightProperty_200.value}} + {{PageBuilderPaddingProperty10.paddingTop}} + {{PageBuilderPaddingProperty10.paddingBottom}} )" stepKey =" expectedColumnHeight" />
157
+ <executeJS function =" return Math.round({{PageBuilderMinHeightProperty_200.value}})" stepKey =" expectedColumnHeight" />
160
158
<assertEquals stepKey =" assertHeightOnStageMatchesExpected" >
161
159
<expectedResult type =" variable" >actualStageContentTypeHeight</expectedResult >
162
160
<actualResult type =" variable" >expectedColumnHeight</actualResult >
You can’t perform that action at this time.
0 commit comments