Skip to content

Commit 2ede37a

Browse files
committed
MC-2365: Create MFTF tests for vertical alignment of rows
- move tests to layout section - move style string to data
1 parent b71b573 commit 2ede37a

File tree

3 files changed

+243
-237
lines changed

3 files changed

+243
-237
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Data/CommonContentTypeData.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,21 @@
2020
<data key="section">layout</data>
2121
<data key="fieldName">min_height</data>
2222
<data key="value">500</data>
23+
<data key="style">min-height: 500px</data>
2324
</entity>
2425
<entity name="PageBuilderMinHeightProperty_300" type="pagebuilder_min_height_property">
2526
<data key="name">Minimum Height</data>
2627
<data key="section">layout</data>
2728
<data key="fieldName">min_height</data>
2829
<data key="value">300</data>
30+
<data key="style">min-height: 300px</data>
2931
</entity>
3032
<entity name="PageBuilderMinHeightProperty_200" type="pagebuilder_min_height_property">
3133
<data key="name">Minimum Height</data>
3234
<data key="section">layout</data>
3335
<data key="fieldName">min_height</data>
3436
<data key="value">200</data>
37+
<data key="style">min-height: 200px</data>
3538
</entity>
3639
<!-- Vertical Alignment -->
3740
<entity name="PageBuilderVerticalAlignmentPropertyTop" type="pagebuilder_vertical_alignment_property">
@@ -57,9 +60,6 @@
5760
</entity>
5861
<!-- Styles -->
5962
<entity name="PageBuilderCommonStyles" type="pagebuilder_common_styles">
60-
<data key="minHeight500">min-height: 500px</data>
61-
<data key="minHeight300">min-height: 300px</data>
62-
<data key="minHeight200">min-height: 200px</data>
6363
<data key="verticalAlignmentBottom">justify-content: flex-end</data>
6464
<data key="verticalAlignmentCenter">justify-content: center</data>
6565
<data key="verticalAlignmentTop">justify-content: flex-start</data>

0 commit comments

Comments
 (0)