|
271 | 271 | <actualResult type="variable">columnRatioFrontend</actualResult>
|
272 | 272 | </assertEquals>
|
273 | 273 | </test>
|
274 |
| - <test name="ColumnResize1v4And2v1"> |
| 274 | + <test name="ColumnResize4to1to1"> |
275 | 275 | <annotations>
|
276 | 276 | <features value="PageBuilder"/>
|
277 | 277 | <stories value="Column"/>
|
|
282 | 282 | <group value="pagebuilder"/>
|
283 | 283 | <group value="pagebuilder-column"/>
|
284 | 284 | <group value="pagebuilder-columnResize"/>
|
285 |
| - <!-- MC-2434 --> |
286 |
| - <group value="skip"/> |
287 | 285 | </annotations>
|
288 | 286 | <before>
|
289 | 287 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
|
299 | 297 | <actionGroup ref="dragContentTypeToStage" stepKey="dragColumnIntoStage">
|
300 | 298 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
301 | 299 | </actionGroup>
|
302 |
| - <!-- Grab grid guide width (-8 due to how picky the guide is) --> |
| 300 | + <!-- Grab grid guide width --> |
303 | 301 | <comment userInput="Grab grid guide width" stepKey="context0"/>
|
304 |
| - <executeJS function="return document.querySelector('{{ColumnOnBackend.columnResizeGridLine('8')}}').clientWidth-8" stepKey="guideWidth"/> |
| 302 | + <executeJS function="return document.querySelector('{{ColumnOnBackend.columnResizeGridLine('1')}}').clientWidth" stepKey="guideWidth"/> |
305 | 303 | <!-- Change Columns To 4:1:1 Ratio -->
|
306 | 304 | <comment userInput="Change Columns To 4:1:1 Ratio" stepKey="context1"/>
|
307 |
| - <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('8')}}" x="$guideWidth" stepKey="resizeColumn1ToFour"/> |
| 305 | + <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('8')}}" x="$guideWidth" stepKey="resizeColumn1ToEight"/> |
308 | 306 | <actionGroup ref="dragContentTypeToContainer" stepKey="dragColumnIntoStage2">
|
309 | 307 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
310 | 308 | <argument name="containerTargetType" value="PageBuilderColumnContentType"/>
|
311 | 309 | <argument name="containerTargetIndex" value="2"/>
|
312 | 310 | </actionGroup>
|
313 | 311 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('10')}}" x="$guideWidth" stepKey="resizeColumnToTwo"/>
|
| 312 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup"> |
| 313 | + <argument name="group" value="PageBuilderDividerContentType"/> |
| 314 | + </actionGroup> |
314 | 315 | <actionGroup ref="dragContentTypeToContainer" stepKey="dragIntoStage1">
|
315 | 316 | <argument name="contentType" value="PageBuilderDividerContentType"/>
|
316 | 317 | <argument name="containerTargetType" value="PageBuilderColumnContentType"/>
|
|
0 commit comments