|
1114 | 1114 | <title value="Row Content Can Be Vertically Aligned In Block"/>
|
1115 | 1115 | <description value="A user can vertically align row contents in a Block"/>
|
1116 | 1116 | <severity value="CRITICAL"/>
|
1117 |
| - <useCaseId value="MC-914"/> |
| 1117 | + <useCaseId value="MC-4280"/> |
1118 | 1118 | <testCaseId value="MC-5061"/>
|
1119 | 1119 | <group value="pagebuilder"/>
|
1120 | 1120 | <group value="pagebuilder-block"/>
|
| 1121 | + <group value="pagebuilder-row"/> |
1121 | 1122 | </annotations>
|
1122 | 1123 | <before>
|
1123 | 1124 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin" />
|
1124 |
| - <actionGroup ref="enablePageBuilderSetting" stepKey="enablePageBuilderSetting" /> |
1125 | 1125 | <createData entity="_defaultBlock" stepKey="createPreReqBlock" />
|
| 1126 | + <actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedCMSBlockPage"> |
| 1127 | + <argument name="CMSBlockPage" value="$$createPreReqBlock$$" /> |
| 1128 | + </actionGroup> |
1126 | 1129 | </before>
|
1127 | 1130 | <after>
|
1128 | 1131 | <deleteData createDataKey="createPreReqBlock" stepKey="deletePreReqBlock" />
|
1129 |
| - <actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/> |
1130 | 1132 | <actionGroup ref="logout" stepKey="logout"/>
|
1131 | 1133 | </after>
|
1132 | 1134 | <!-- Edit Block and configure Row - Vertical Align Bottom -->
|
1133 | 1135 | <comment userInput="Edit Block and configure row vertical align bottom" stepKey="commentConfigureRowVerticalAlignBottom"/>
|
1134 |
| - <actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedCMSBlockPage"> |
1135 |
| - <argument name="CMSBlockPage" value="$$createPreReqBlock$$" /> |
1136 |
| - </actionGroup> |
1137 | 1136 | <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">
|
1138 | 1137 | <argument name="contentType" value="PageBuilderRowContentType"/>
|
1139 | 1138 | </actionGroup>
|
|
1145 | 1144 | </actionGroup>
|
1146 | 1145 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsInBlock"/>
|
1147 | 1146 | <click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="saveBlock"/>
|
| 1147 | + <waitForPageLoad time="30" stepKey="waitForStageToLoad"/> |
1148 | 1148 | <!-- Go to CMS Page and choose Block -->
|
1149 | 1149 | <comment userInput="Go to CMS Page and choose Block" stepKey="commentGoToCMSPage"/>
|
1150 | 1150 | <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/>
|
|
1164 | 1164 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
1165 | 1165 | <!-- Verify Vertical Alignment On Stage - Before Save -->
|
1166 | 1166 | <comment userInput="Verify min height and vertical alignment on stage before save" stepKey="commentVerifyMinHeightAndVerticalAlignmentOnStageBeforeSave"/>
|
1167 |
| - <seeElement selector="{{BlockOnStage.rowInnerStyle('1', PageBuilderMinHeightProperty_500.value)}}" stepKey="seeRowMinHeightBeforeSave"/> |
1168 |
| - <seeElement selector="{{BlockOnStage.rowInnerStyle('1', PageBuilderVerticalAlignmentPropertyBottom.style)}}" stepKey="seeRowVerticalAlignmentBottomBeforeSave"/> |
| 1167 | + <seeElement selector="({{RowOnStorefront.rowStyle('1', PageBuilderMinHeightProperty_500.style)}}{{BlockOnStorefront.ancestor}})[1]" stepKey="seeRowMinHeightBeforeSave"/> |
| 1168 | + <seeElement selector="({{RowOnStorefront.rowStyle('1', PageBuilderVerticalAlignmentPropertyBottom.style)}}{{BlockOnStorefront.ancestor}})[1]" stepKey="seeRowVerticalAlignmentBottomBeforeSave"/> |
1169 | 1169 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
|
1170 | 1170 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStageAfterSave"/>
|
1171 | 1171 | <!-- Verify Vertical Alignment On Stage - After Save -->
|
1172 | 1172 | <comment userInput="Verify min height and vertical alignment on stage after save" stepKey="commentVerifyMinHeightAndVerticalAlignmentOnStageAfterSave"/>
|
1173 |
| - <seeElement selector="{{BlockOnStage.rowInnerStyle('1', PageBuilderMinHeightProperty_500.value)}}" stepKey="seeRowMinHeightAfterSave"/> |
1174 |
| - <seeElement selector="{{BlockOnStage.rowInnerStyle('1', PageBuilderVerticalAlignmentPropertyBottom.style)}}" stepKey="seeRowVerticalAlignmentBottomAfterSave"/> |
| 1173 | + <seeElement selector="({{RowOnStorefront.rowStyle('1', PageBuilderMinHeightProperty_500.style)}}{{BlockOnStorefront.ancestor}})[1]" stepKey="seeRowMinHeightAfterSave"/> |
| 1174 | + <seeElement selector="({{RowOnStorefront.rowStyle('1', PageBuilderVerticalAlignmentPropertyBottom.style)}}{{BlockOnStorefront.ancestor}})[1]" stepKey="seeRowVerticalAlignmentBottomAfterSave"/> |
1175 | 1175 | <!-- Verify Min Height and Vertical Alignment In Storefront -->
|
1176 | 1176 | <comment userInput="Verify min height and vertical alignment in storefront" stepKey="commentVerifyMinHeightAndVerticalAlignmentInStorefront"/>
|
1177 | 1177 | <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront">
|
1178 | 1178 | <argument name="contentType" value="PageBuilderBlockContentType"/>
|
1179 | 1179 | </actionGroup>
|
1180 |
| - <seeElement selector="{{BlockOnStorefront.rowInnerStyle('1', PageBuilderMinHeightProperty_500.value)}}" stepKey="seeRowMinHeightStorefront"/> |
1181 |
| - <seeElement selector="{{BlockOnStorefront.rowInnerStyle('1', PageBuilderVerticalAlignmentPropertyBottom.style)}}" stepKey="seeRowVerticalAlignmentBottomStorefront"/> |
| 1180 | + <seeElement selector="({{RowOnStorefront.rowStyle('1', PageBuilderMinHeightProperty_500.style)}}{{BlockOnStorefront.ancestor}})[1]" stepKey="seeRowMinHeightStorefront"/> |
| 1181 | + <seeElement selector="({{RowOnStorefront.rowStyle('1', PageBuilderVerticalAlignmentPropertyBottom.style)}}{{BlockOnStorefront.ancestor}})[1]" stepKey="seeRowVerticalAlignmentBottomStorefront"/> |
1182 | 1182 | </test>
|
1183 | 1183 | </tests>
|
0 commit comments