|
291 | 291 | <actionGroup ref="dragContentTypeToStage" stepKey="dragAdditionalRow">
|
292 | 292 | <argument name="contentType" value="PageBuilderRowContentType"/>
|
293 | 293 | </actionGroup>
|
294 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragAdditionalRow2"> |
295 |
| - <argument name="contentType" value="PageBuilderRowContentType"/> |
296 |
| - </actionGroup> |
297 | 294 | <actionGroup ref="dragContentTypeToContainer" stepKey="dragColumnIntoStage">
|
298 | 295 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
299 | 296 | <argument name="containerTargetType" value="PageBuilderRowContentType"/>
|
|
324 | 321 | <!-- Close grid form and check options are restored -->
|
325 | 322 | <comment userInput="Close grid form and check options are restored" stepKey="commentCloseAndValidateOptionsAreRestored"/>
|
326 | 323 | <actionGroup ref="closeGridSizeForm" stepKey="closeGridForm" />
|
| 324 | + <scrollTo selector="{{CmsNewPagePageActionsSection.pageTitle}}" stepKey="scrollToTop"/> |
327 | 325 | <moveMouseOver selector="{{PageBuilderActionsSection.contentTypeInStage(PageBuilderRowContentType.role)}}" x="10" y="0" stepKey="onMouseOverContentTypeStage"/>
|
328 | 326 | <waitForPageLoad stepKey="waitForPageLoad"/>
|
329 | 327 | <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentTypeOptionsMenu(PageBuilderRowContentType.role)}}" stepKey="waitForOptions"/>
|
|
438 | 436 | </actionGroup>
|
439 | 437 | <seeNumberOfElements selector="{{PageBuilderColumnSection.allColumns}}" userInput="3" stepKey="seeNumberOfColumnsStill3"/>
|
440 | 438 | <actionGroup ref="closeGridSizeForm" stepKey="closeGridSizeForm"/>
|
| 439 | + <!-- Verify Initial Column Sizes --> |
| 440 | + <comment userInput="Verify Initial Column Sizes " stepKey="context0"/> |
| 441 | + <seeElement selector="{{PageBuilderColumnSection.displayLabel('1','2/7')}}" stepKey="checkWidthFirstColumn"/> |
| 442 | + <seeElement selector="{{PageBuilderColumnSection.displayLabel('2','2/7')}}" stepKey="checkWidthSecondColumn"/> |
| 443 | + <seeElement selector="{{PageBuilderColumnSection.displayLabel('3','3/7')}}" stepKey="checkWidthThirdColumn"/> |
441 | 444 | <!-- Grab grid guide location for column 1 -->
|
442 |
| - <comment userInput="Grab grid guide width" stepKey="context0"/> |
443 |
| - <executeJS function="return document.querySelector('{{PageBuilderColumnSection.columnResizeGridLine('5')}}').clientWidth" stepKey="guideWidth"/> |
| 445 | + <comment userInput="Grab grid guide width" stepKey="context1"/> |
| 446 | + <executeJS function="return document.querySelector('{{PageBuilderColumnSection.columnResizeGridLine('1')}}').clientWidth" stepKey="guideWidth"/> |
444 | 447 | <!-- Resize Column 1 -->
|
445 |
| - <comment userInput="Resize Column 1" stepKey="comment1"/> |
446 |
| - <dragAndDrop selector1="{{PageBuilderColumnSection.columnX('1')}} {{PageBuilderColumnSection.columnResizeHandle}}" selector2="{{PageBuilderColumnSection.columnResizeGridLine('5')}}" x="$guideWidth" stepKey="resizeColumn1"/> |
| 448 | + <comment userInput="Resize Column 1" stepKey="context2"/> |
| 449 | + <dragAndDrop selector1="{{PageBuilderColumnSection.columnX('1')}} {{PageBuilderColumnSection.columnResizeHandle}}" selector2="{{PageBuilderColumnSection.columnResizeGridLine('1')}}" x="$guideWidth" stepKey="resizeColumn1"/> |
447 | 450 | <seeNumberOfElements selector="{{PageBuilderColumnSection.allColumns}}" userInput="3" stepKey="seeNumberOfColumnsStill32"/>
|
448 |
| - <seeElement selector="{{PageBuilderColumnSection.displayLabel('1','5/7')}}" stepKey="checkWidthFirstColumn"/> |
| 451 | + <!-- Verify New Column Sizes --> |
| 452 | + <comment userInput="Verify New Column Sizes " stepKey="context3"/> |
| 453 | + <seeElement selector="{{PageBuilderColumnSection.displayLabel('1','1/7')}}" stepKey="checkWidthFirstColumn2"/> |
| 454 | + <seeElement selector="{{PageBuilderColumnSection.displayLabel('2','3/7')}}" stepKey="checkWidthSecondColumn2"/> |
| 455 | + <seeElement selector="{{PageBuilderColumnSection.displayLabel('3','3/7')}}" stepKey="checkWidthThirdColumn2"/> |
449 | 456 | </test>
|
450 | 457 | <test name="ValidateResizeHistory">
|
451 | 458 | <annotations>
|
|
0 commit comments