|
68 | 68 | <testCaseId value="MAGETWO-92014"/>
|
69 | 69 | <group value="pagebuilder"/>
|
70 | 70 | <group value="pagebuilder-buttons"/>
|
| 71 | + <group value="pagebuilder-buttonGroup"/> |
71 | 72 | </annotations>
|
72 | 73 | <before>
|
73 | 74 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
|
100 | 101 | <testCaseId value="MAGETWO-92013"/>
|
101 | 102 | <group value="pagebuilder"/>
|
102 | 103 | <group value="pagebuilder-buttons"/>
|
| 104 | + <group value="pagebuilder-buttonGroup"/> |
103 | 105 | </annotations>
|
104 | 106 | <before>
|
105 | 107 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
|
121 | 123 | <!-- Fill All Fields -->
|
122 | 124 | <comment userInput="Fill All Fields" stepKey="commentEdit"/>
|
123 | 125 | <actionGroup ref="expandConfigurationSection" stepKey="expandAdvancedSection"/>
|
| 126 | + <actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearance"> |
| 127 | + <argument name="property" value="PageBuilderAppearancePropertyStacked"/> |
| 128 | + </actionGroup> |
124 | 129 | <actionGroup ref="chooseVisualSelectOption" stepKey="enterAlignment">
|
125 | 130 | <argument name="property" value="PageBuilderAdvancedAlignmentPropertyCenter"/>
|
126 | 131 | </actionGroup>
|
|
149 | 154 | <!-- Add Button -->
|
150 | 155 | <comment userInput="Add Button" stepKey="commentAddButton"/>
|
151 | 156 | <actionGroup ref="addButton" stepKey="addButton2"/>
|
152 |
| - <!-- Edit 1st button --> |
153 |
| - <comment userInput="Edit 1st Button" stepKey="commentEditButton"/> |
| 157 | + <!-- Edit buttons --> |
| 158 | + <comment userInput="Edit Buttons" stepKey="commentEditButtons"/> |
154 | 159 | <actionGroup ref="openPageBuilderEditPanelSmallByIndex" stepKey="openEditMenuOnStage1">
|
155 | 160 | <argument name="contentBlockType" value="PageBuilderButtonItemContentBlock"/>
|
156 | 161 | <argument name="contentBlockIndex" value="1"/>
|
|
163 | 168 | </actionGroup>
|
164 | 169 | <actionGroup ref="fillSlideOutPanelLinkUrlField" stepKey="fillButton1LinkField">
|
165 | 170 | <argument name="property" value="PageBuilderButtonItemLink_Secure"/>
|
166 |
| - <argument name="selection" value="ExternalLink"/> |
| 171 | + <argument name="selection" value="{{ExternalLink.url}}"/> |
167 | 172 | <argument name="newTab" value="PageBuilderButtonItemOpenInNewTab_False"/>
|
168 | 173 | </actionGroup>
|
169 | 174 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings2"/>
|
| 175 | + <actionGroup ref="inlineEditButton" stepKey="inlineEditButton2"> |
| 176 | + <argument name="text" value="PageBuilderButtonItemText_Common2"/> |
| 177 | + <argument name="index" value="2"/> |
| 178 | + </actionGroup> |
170 | 179 | <!-- Duplicate and Validate Stage -->
|
171 | 180 | <comment userInput="Duplicate" stepKey="commentDuplicate"/>
|
172 | 181 | <actionGroup ref="duplicateContentBlock" stepKey="duplicateContentBlock">
|
|
185 | 194 | <argument name="padding" value="PageBuilderPaddingPropertyUnique"/>
|
186 | 195 | <argument name="index" value="2"/>
|
187 | 196 | </actionGroup>
|
| 197 | + <actionGroup ref="validateButtonGroupStackedAppearance" stepKey="seeAppearanceOnStage"> |
| 198 | + <argument name="buttonGroupPage" value="ButtonGroupOnStage"/> |
| 199 | + <argument name="buttonItemPage" value="ButtonItemOnStage"/> |
| 200 | + <argument name="index" value="2"/> |
| 201 | + </actionGroup> |
188 | 202 | <!-- 1st Button -->
|
189 | 203 | <actionGroup ref="validateButtonItemContent" stepKey="validateButton2Stage1">
|
190 | 204 | <argument name="page" value="ButtonItemOnStage"/>
|
|
197 | 211 | <!-- 2nd Button -->
|
198 | 212 | <actionGroup ref="validateButtonItemContent" stepKey="validateButton1Stage1">
|
199 | 213 | <argument name="page" value="ButtonItemOnStage"/>
|
| 214 | + <argument name="text" value="PageBuilderButtonItemText_Common2"/> |
200 | 215 | <argument name="index" value="4"/>
|
201 | 216 | </actionGroup>
|
202 | 217 | <actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuOnStage2">
|
|
206 | 221 | <!-- Validate Edit Panel For Duplicate -->
|
207 | 222 | <comment userInput="Validate Edit Panel For Duplicate" stepKey="commentValidateEdit"/>
|
208 | 223 | <actionGroup ref="expandConfigurationSection" stepKey="expandAdvancedSection2"/>
|
| 224 | + <actionGroup ref="seeOptionIsSelectedSlideOutProperty" stepKey="validateAppearance"> |
| 225 | + <argument name="property" value="PageBuilderAppearancePropertyStacked"/> |
| 226 | + </actionGroup> |
209 | 227 | <actionGroup ref="seeOptionIsSelectedSlideOutProperty" stepKey="validateAlignment">
|
210 | 228 | <argument name="property" value="PageBuilderAdvancedAlignmentPropertyCenter"/>
|
211 | 229 | </actionGroup>
|
|
247 | 265 | <argument name="padding" value="PageBuilderPaddingPropertyUnique"/>
|
248 | 266 | <argument name="index" value="2"/>
|
249 | 267 | </actionGroup>
|
| 268 | + <actionGroup ref="validateButtonGroupStackedAppearance" stepKey="seeAppearanceOnStage2"> |
| 269 | + <argument name="buttonGroupPage" value="ButtonGroupOnStage"/> |
| 270 | + <argument name="buttonItemPage" value="ButtonItemOnStage"/> |
| 271 | + <argument name="index" value="2"/> |
| 272 | + </actionGroup> |
250 | 273 | <!-- 1st Button -->
|
251 | 274 | <actionGroup ref="validateButtonItemContent" stepKey="validateButton2Stage2">
|
252 | 275 | <argument name="page" value="ButtonItemOnStage"/>
|
|
259 | 282 | <!-- 2nd Button -->
|
260 | 283 | <actionGroup ref="validateButtonItemContent" stepKey="validateButton1Stage2">
|
261 | 284 | <argument name="page" value="ButtonItemOnStage"/>
|
| 285 | + <argument name="text" value="PageBuilderButtonItemText_Common2"/> |
262 | 286 | <argument name="index" value="4"/>
|
263 | 287 | </actionGroup>
|
264 | 288 | <!-- Validate Storefront -->
|
|
278 | 302 | <argument name="padding" value="PageBuilderPaddingPropertyUnique"/>
|
279 | 303 | <argument name="index" value="2"/>
|
280 | 304 | </actionGroup>
|
| 305 | + <actionGroup ref="validateButtonGroupStackedAppearance" stepKey="seeAppearanceOnStorefront"> |
| 306 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 307 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 308 | + <argument name="index" value="2"/> |
| 309 | + </actionGroup> |
281 | 310 | <!-- 1st Button -->
|
282 | 311 | <actionGroup ref="validateButtonItemContent" stepKey="validateButton2Storefront">
|
283 | 312 | <argument name="page" value="ButtonItemOnStorefront"/>
|
|
288 | 317 | <argument name="index" value="3"/>
|
289 | 318 | </actionGroup>
|
290 | 319 | <!-- 2nd Button -->
|
291 |
| - <waitForElementVisible selector="{{ButtonItemOnStorefront.base('4')}}" stepKey="waitForButton2"/> |
292 |
| - <waitForElement selector="{{ButtonItemOnStorefront.emptyButtonItemElement('4')}}" stepKey="waitForButton2Empty"/> |
| 320 | + <actionGroup ref="validateButtonItemContent" stepKey="validateButton1Storefront2"> |
| 321 | + <argument name="page" value="ButtonItemOnStorefront"/> |
| 322 | + <argument name="text" value="PageBuilderButtonItemText_Common2"/> |
| 323 | + <argument name="index" value="4"/> |
| 324 | + </actionGroup> |
293 | 325 | </test>
|
294 | 326 | <test name="ButtonGroupValidateAdvancedConfigurationDefaultValues">
|
295 | 327 | <annotations>
|
|
0 commit comments