File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/PageBuilder/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 41
41
<argument name =" pixelBuffer" defaultValue =" 5" type =" string" />
42
42
</arguments >
43
43
<executeJS function =" return document.querySelectorAll('{{content}}')[{{index}}-1].getBoundingClientRect().height-{{padding.paddingTop}}-{{padding.paddingBottom}}-({{border.value}}*2)" stepKey =" actualContentHeight" />
44
- <executeJS function =" return Math.round(Math.abs({$actualContentHeight}-{{height.value}}))" stepKey =" contentTypeHeightRatio " />
44
+ <executeJS function =" return Math.round(Math.abs({$actualContentHeight}-{{height.value}}))" stepKey =" contentTypeHeightDifference " />
45
45
<assertLessThanOrEqual stepKey =" assertContentHeightRatio" >
46
46
<expectedResult type =" int" >{{pixelBuffer}}</expectedResult >
47
- <actualResult type =" variable" >contentTypeHeightRatio </actualResult >
47
+ <actualResult type =" variable" >contentTypeHeightDifference </actualResult >
48
48
</assertLessThanOrEqual >
49
49
</actionGroup >
50
50
<actionGroup name =" validateContentTypeHeightGreaterThanMinHeight" >
You can’t perform that action at this time.
0 commit comments