Skip to content

Commit 9abcf38

Browse files
committed
MC-5079: Add Box Sizing to Storefront Styles (Border & Height Storefront Issues)
- update stepKey to describe value relationship
1 parent e93e01f commit 9abcf38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/PageBuilder/Test/Mftf/ActionGroup/LayoutConfigurationActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
<argument name="pixelBuffer" defaultValue="5" type="string"/>
4242
</arguments>
4343
<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"/>
4545
<assertLessThanOrEqual stepKey="assertContentHeightRatio">
4646
<expectedResult type="int">{{pixelBuffer}}</expectedResult>
47-
<actualResult type="variable">contentTypeHeightRatio</actualResult>
47+
<actualResult type="variable">contentTypeHeightDifference</actualResult>
4848
</assertLessThanOrEqual>
4949
</actionGroup>
5050
<actionGroup name="validateContentTypeHeightGreaterThanMinHeight">

0 commit comments

Comments
 (0)