|
125 | 125 | <!-- Change Columns To 5:1 Ratio -->
|
126 | 126 | <comment userInput="Change Columns To 5:1 Ratio" stepKey="context1"/>
|
127 | 127 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('10')}}" x="$guideWidth" stepKey="dragColumnOneToFive"/>
|
| 128 | + <waitForPageLoad stepKey="waitForDragAndDrop"/> |
128 | 129 | <!-- Assert the width classes are correct after manual resize -->
|
129 | 130 | <waitForElement selector="{{ColumnOnBackend.columnByIndexAndWidthClass('1','90')}}" stepKey="assertWidthClass1"/>
|
130 | 131 | <waitForElement selector="{{ColumnOnBackend.columnByIndexAndWidthClass('2','20')}}" stepKey="assertWidthClass2"/>
|
|
215 | 216 | </actionGroup>
|
216 | 217 | <executeJS function="return document.querySelector('{{ColumnOnBackend.columnResizeGridLine('1')}}').clientWidth" stepKey="guideWidth"/>
|
217 | 218 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('8')}}" x="$guideWidth" stepKey="resizeColumnToTwo"/>
|
| 219 | + <waitForPageLoad stepKey="waitForDragAndDrop"/> |
218 | 220 | <actionGroup ref="removeContentTypeFromStageByIndex" stepKey="removeFirstColumn">
|
219 | 221 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
220 | 222 | <argument name="contentTypeNumber" value="1"/>
|
|
303 | 305 | <!-- Change Columns To 4:1:1 Ratio -->
|
304 | 306 | <comment userInput="Change Columns To 4:1:1 Ratio" stepKey="context1"/>
|
305 | 307 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('8')}}" x="$guideWidth" stepKey="resizeColumn1ToEight"/>
|
| 308 | + <waitForPageLoad stepKey="waitForDragAndDrop"/> |
306 | 309 | <actionGroup ref="dragContentTypeToContainer" stepKey="dragColumnIntoStage2">
|
307 | 310 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
308 | 311 | <argument name="containerTargetType" value="PageBuilderColumnContentType"/>
|
309 | 312 | <argument name="containerTargetIndex" value="2"/>
|
310 | 313 | </actionGroup>
|
311 | 314 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('10')}}" x="$guideWidth" stepKey="resizeColumnToTwo"/>
|
| 315 | + <waitForPageLoad stepKey="waitForDragAndDrop2"/> |
312 | 316 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
|
313 | 317 | <argument name="group" value="PageBuilderDividerContentType"/>
|
314 | 318 | </actionGroup>
|
|
499 | 503 | <argument name="containerTargetIndex" value="2"/>
|
500 | 504 | </actionGroup>
|
501 | 505 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('10')}}" x="$guideWidth" stepKey="resizeColumn2ToFive"/>
|
| 506 | + <waitForPageLoad stepKey="waitForDragAndDrop"/> |
502 | 507 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
|
503 | 508 | <argument name="group" value="PageBuilderDividerContentType"/>
|
504 | 509 | </actionGroup>
|
|
609 | 614 | </actionGroup>
|
610 | 615 | <executeJS function="return document.querySelector('{{ColumnOnBackend.columnResizeGridLine('1')}}').clientWidth" stepKey="guideWidth"/>
|
611 | 616 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('8')}}" x="$guideWidth" stepKey="resizeColumnToTwo"/>
|
| 617 | + <waitForPageLoad stepKey="waitForDragAndDrop"/> |
612 | 618 | <actionGroup ref="dragContentTypeToContainer" stepKey="dragColumnIntoStage3">
|
613 | 619 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
614 | 620 | <argument name="containerTargetType" value="PageBuilderColumnContentType"/>
|
615 | 621 | <argument name="containerTargetIndex" value="3"/>
|
616 | 622 | </actionGroup>
|
617 | 623 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('3')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('10')}}" x="$guideWidth" stepKey="resizeSecondColumnToTwo"/>
|
| 624 | + <waitForPageLoad stepKey="waitForDragAndDrop2"/> |
618 | 625 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
|
619 | 626 | <argument name="group" value="PageBuilderDividerContentType"/>
|
620 | 627 | </actionGroup>
|
|
750 | 757 | <argument name="containerTargetIndex" value="2"/>
|
751 | 758 | </actionGroup>
|
752 | 759 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('4')}}" x="$guideWidth" stepKey="resizeColumnToThird"/>
|
| 760 | + <waitForPageLoad stepKey="waitForDragAndDrop"/> |
753 | 761 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('8')}}" x="$guideWidth" stepKey="resizeSecondColumnToThird"/>
|
| 762 | + <waitForPageLoad stepKey="waitForDragAndDrop2"/> |
754 | 763 | <actionGroup ref="duplicateContentType" stepKey="duplicateFirstColumn">
|
755 | 764 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
756 | 765 | <argument name="targetIndex" value="1"/>
|
|
869 | 878 | <comment userInput="Resizing columns to create 5/12, 1/12, 6/12 configuration, logic for resizing differs when dragging a 1/2 column to the left" stepKey="commentInitialResize"/>
|
870 | 879 | <executeJS function="return document.querySelector('{{ColumnOnBackend.columnResizeGridLine('1')}}').clientWidth" stepKey="guideWidth"/>
|
871 | 880 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('5')}}" x="$guideWidth" stepKey="resizeColumn1"/>
|
872 |
| - <waitForPageLoad stepKey="waitForPageLoad" /> |
| 881 | + <waitForPageLoad stepKey="waitForDragAndDrop"/> |
873 | 882 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('1','5/12')}}" stepKey="validateFirstColumnWidth"/>
|
874 | 883 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('2','1/12')}}" stepKey="validateSecondColumnWidth"/>
|
875 | 884 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('3','6/12')}}" stepKey="validateThirdColumnWidth"/>
|
876 | 885 | <!-- Resize left column to 4/12 via second column -->
|
877 | 886 | <comment userInput="Resize left column to 4/12 via second column" stepKey="commentFourTwelth"/>
|
878 | 887 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('5')}}" x="$guideWidth" stepKey="resizeColumn1ViaColumn1"/>
|
879 |
| - <waitForPageLoad stepKey="waitForResize1"/> |
| 888 | + <waitForPageLoad stepKey="waitForDragAndDrop2"/> |
880 | 889 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('1','4/12')}}" stepKey="validateFirstColumnWidth1"/>
|
881 | 890 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('2','1/12')}}" stepKey="validateSecondColumnWidth1"/>
|
882 | 891 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('3','7/12')}}" stepKey="validateThirdColumnWidth1"/>
|
883 | 892 | <!-- Resize left column to 3/12 via second column -->
|
884 | 893 | <comment userInput="Resize left column to 3/12 via second column" stepKey="commentThreeTwelth"/>
|
885 | 894 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('4')}}" x="$guideWidth" stepKey="resizeColumn1ViaColumn2"/>
|
886 |
| - <waitForPageLoad stepKey="waitForResize2"/> |
| 895 | + <waitForPageLoad stepKey="waitForDragAndDrop3"/> |
887 | 896 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('1','3/12')}}" stepKey="validateFirstColumnWidth2"/>
|
888 | 897 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('2','1/12')}}" stepKey="validateSecondColumnWidth2"/>
|
889 | 898 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('3','8/12')}}" stepKey="validateThirdColumnWidth2"/>
|
890 | 899 | <!-- Resize left column to 2/12 via second column -->
|
891 | 900 | <comment userInput="Resize left column to 2/12 via second column" stepKey="commentTwoTwelth"/>
|
892 | 901 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('3')}}" x="$guideWidth" stepKey="resizeColumn1ViaColumn3"/>
|
893 |
| - <waitForPageLoad stepKey="waitForResize3"/> |
| 902 | + <waitForPageLoad stepKey="waitForDragAndDrop4"/> |
894 | 903 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('1','2/12')}}" stepKey="validateFirstColumnWidth3"/>
|
895 | 904 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('2','1/12')}}" stepKey="validateSecondColumnWidth3"/>
|
896 | 905 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('3','9/12')}}" stepKey="validateThirdColumnWidth3"/>
|
897 | 906 | <!-- Resize left column to 1/12 via second column -->
|
898 | 907 | <comment userInput="Resize left column to 1/12 via second column" stepKey="commentOneTwelth"/>
|
899 | 908 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('2')}}" x="$guideWidth" stepKey="resizeColumn1ViaColumn4"/>
|
900 |
| - <waitForPageLoad stepKey="waitForResize4"/> |
| 909 | + <waitForPageLoad stepKey="waitForDragAndDrop5"/> |
901 | 910 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('1','1/12')}}" stepKey="validateFirstColumnWidth4"/>
|
902 | 911 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('2','1/12')}}" stepKey="validateSecondColumnWidth4"/>
|
903 | 912 | <waitForElementVisible selector="{{ColumnOnBackend.displayLabel('3','10/12')}}" stepKey="validateThirdColumnWidth4"/>
|
|
0 commit comments