Skip to content

Commit 959467a

Browse files
committed
MC-4280: Row Vertical Alignment Doesn't Work Inside Block & Dynamic Block
- rename test - update stepkeys and comments
1 parent 35bb923 commit 959467a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderBlockTest.xml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@
11071107
<dontSeeElementInDOM selector="{{BlockOnStorefront.hidden('1')}}" stepKey="dontSeeHiddenElement"/>
11081108
<seeElement selector="{{BlockOnStorefront.base('1')}}" stepKey="waitForContentTypeVisible" />
11091109
</test>
1110-
<test name="RowContentIsVerticallyAlignedInBlock">
1110+
<test name="BlockRowContentIsVerticallyAligned">
11111111
<annotations>
11121112
<features value="PageBuilder"/>
11131113
<stories value="Block"/>
@@ -1129,22 +1129,24 @@
11291129
<actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/>
11301130
<actionGroup ref="logout" stepKey="logout"/>
11311131
</after>
1132+
<!-- Edit Block and configure Row - Vertical Align Bottom -->
1133+
<comment userInput="Edit Block and configure row vertical align bottom" stepKey="commentConfigureRowVerticalAlignBottom"/>
11321134
<actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedCMSBlockPage">
11331135
<argument name="CMSBlockPage" value="$$createPreReqBlock$$" />
11341136
</actionGroup>
1135-
<!-- Configure First Row - Vertical Align Top -->
1136-
<comment userInput="Configure vertical align top" stepKey="commentConfigureVerticalAlignTop"/>
11371137
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">
11381138
<argument name="contentType" value="PageBuilderRowContentType"/>
11391139
</actionGroup>
11401140
<actionGroup ref="fillSlideOutPanelField" stepKey="enterMinHeightProperty">
11411141
<argument name="property" value="PageBuilderMinHeightProperty_500"/>
11421142
</actionGroup>
1143-
<actionGroup ref="chooseVisualSelectOption" stepKey="enterVerticalAlignmentTopProperty">
1143+
<actionGroup ref="chooseVisualSelectOption" stepKey="enterVerticalAlignmentBottomProperty">
11441144
<argument name="property" value="PageBuilderVerticalAlignmentPropertyBottom"/>
11451145
</actionGroup>
1146-
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsFirstRow"/>
1147-
<click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="saveBlock" />
1146+
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsInBlock"/>
1147+
<click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="saveBlock"/>
1148+
<!-- Go to CMS Page and choose Block -->
1149+
<comment userInput="Go to CMS Page and choose Block" stepKey="commentGoToCMSPage"/>
11481150
<actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/>
11491151
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
11501152
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle1">

0 commit comments

Comments
 (0)