|
1144 | 1144 | <group value="pagebuilder"/>
|
1145 | 1145 | <group value="pagebuilder-buttons"/>
|
1146 | 1146 | <group value="pagebuilder-buttonGroup"/>
|
| 1147 | + <group value="pagebuilder-row"/> |
1147 | 1148 | </annotations>
|
1148 | 1149 | <before>
|
1149 | 1150 | <createData entity="_emptyCmsPage" stepKey="createCMSPage"/>
|
1150 | 1151 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
| 1152 | + <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage"> |
| 1153 | + <argument name="CMSPage" value="$$createCMSPage$$"/> |
| 1154 | + </actionGroup> |
| 1155 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStagePage"/> |
1151 | 1156 | </before>
|
1152 | 1157 | <after>
|
1153 | 1158 | <deleteData createDataKey="createCMSPage" stepKey="deleteCreatedCategory"/>
|
1154 | 1159 | <actionGroup ref="logout" stepKey="logout"/>
|
1155 | 1160 | </after>
|
1156 |
| - <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage"> |
1157 |
| - <argument name="CMSPage" value="$$createCMSPage$$"/> |
1158 |
| - </actionGroup> |
1159 |
| - <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStagePage"/> |
1160 | 1161 | <!-- Change row appearance to full-width -->
|
1161 |
| - <comment userInput="Change row appearance to full-width" stepKey="commentChangeRowAppearanceBlock"/> |
1162 |
| - <actionGroup ref="openPageBuilderEditPanel" stepKey="openRowEditMenuOnStageBlock"> |
| 1162 | + <comment userInput="Change row appearance to full-width" stepKey="commentChangeRowAppearance"/> |
| 1163 | + <actionGroup ref="openPageBuilderEditPanel" stepKey="openRowEditMenuOnStage"> |
1163 | 1164 | <argument name="contentType" value="PageBuilderRowContentType"/>
|
1164 | 1165 | </actionGroup>
|
1165 |
| - <actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearanceRowBlock"> |
| 1166 | + <actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearanceRow"> |
1166 | 1167 | <argument name="property" value="PageBuilderRowAppearance_FullWidth"/>
|
1167 | 1168 | </actionGroup>
|
1168 |
| - <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsRowBlock"/> |
1169 |
| - <!-- Add button groups to block --> |
1170 |
| - <comment userInput="Add button groups to block" stepKey="commentAddButtonGroupsToBlock"/> |
1171 |
| - <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSectionBlock"> |
| 1169 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsRow"/> |
| 1170 | + <!-- Add button groups to row --> |
| 1171 | + <comment userInput="Add button groups to row" stepKey="commentAddButtonGroupsToRow"/> |
| 1172 | + <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSectionButtons"> |
1172 | 1173 | <argument name="contentType" value="PageBuilderButtonsContentType"/>
|
1173 | 1174 | </actionGroup>
|
1174 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStageBlock"> |
| 1175 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragButtonsContentTypeToStage"> |
1175 | 1176 | <argument name="contentType" value="PageBuilderButtonsContentType"/>
|
1176 | 1177 | </actionGroup>
|
1177 |
| - <actionGroup ref="unFocusOptionMenu" stepKey="unFocusOptionMenuBlock"> |
| 1178 | + <actionGroup ref="unFocusOptionMenu" stepKey="unFocusOptionMenuButtons"> |
1178 | 1179 | <argument name="contentType" value="PageBuilderButtonItemContentType"/>
|
1179 | 1180 | </actionGroup>
|
1180 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage2Block"> |
| 1181 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage2Buttons"> |
1181 | 1182 | <argument name="contentType" value="PageBuilderButtonsContentType"/>
|
1182 | 1183 | </actionGroup>
|
1183 |
| - <actionGroup ref="unFocusOptionMenu" stepKey="unFocusOptionMenu2Block"> |
| 1184 | + <actionGroup ref="unFocusOptionMenu" stepKey="unFocusOptionMenu2Buttons"> |
1184 | 1185 | <argument name="contentType" value="PageBuilderButtonItemContentType"/>
|
1185 | 1186 | </actionGroup>
|
1186 |
| - <!-- Validate Page --> |
1187 |
| - <comment userInput="Validate Page" stepKey="commentValidatePage"/> |
1188 |
| - <executeJS function="return {{ButtonItemOnStage.jsButtonSelector('1')}}.getBoundingClientRect().y" stepKey="yCoordinate1Block"/> |
1189 |
| - <executeJS function="return {{ButtonItemOnStage.jsButtonSelector('2')}}.getBoundingClientRect().y" stepKey="yCoordinate2Block"/> |
1190 |
| - <assertNotEquals stepKey="checkYCoordinatesBlock"> |
1191 |
| - <expectedResult type="variable">yCoordinate1Block</expectedResult> |
1192 |
| - <actualResult type="variable">yCoordinate2Block</actualResult> |
| 1187 | + <!-- Validate Stage --> |
| 1188 | + <comment userInput="Validate Stage" stepKey="commentValidateStage"/> |
| 1189 | + <executeJS function="return {{ButtonItemOnStage.jsButtonSelector('1')}}.getBoundingClientRect().y" stepKey="yCoordinate1Stage"/> |
| 1190 | + <executeJS function="return {{ButtonItemOnStage.jsButtonSelector('2')}}.getBoundingClientRect().y" stepKey="yCoordinate2Stage"/> |
| 1191 | + <assertNotEquals stepKey="checkYCoordinatesStage"> |
| 1192 | + <expectedResult type="variable">yCoordinate1Stage</expectedResult> |
| 1193 | + <actualResult type="variable">yCoordinate2Stage</actualResult> |
1193 | 1194 | </assertNotEquals>
|
1194 |
| - <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/> |
| 1195 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsStage"/> |
1195 | 1196 | <!-- Validate CMS Page Storefront -->
|
1196 | 1197 | <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/>
|
1197 | 1198 | <actionGroup ref="navigateToStorefrontForCreatedPage" stepKey="navigateToProductStorefront">
|
|
0 commit comments