|
38 | 38 | <comment userInput="Get 3/6 Column Width" stepKey="context1"/>
|
39 | 39 | <executeJS function="return document.querySelector('{{ColumnOnBackend.columnX('1')}}').clientWidth" stepKey="initalColumnWidth"/>
|
40 | 40 | <!-- Assert the initial width classes are correct -->
|
41 |
| - <waitForElement selector="{{PageBuilderColumnSection.columnByIndexAndWidthClass('1','50')}}" stepKey="assertInitialWidthClass1"/> |
42 |
| - <waitForElement selector="{{PageBuilderColumnSection.columnByIndexAndWidthClass('2','50')}}" stepKey="assertInitialWidthClass2"/> |
| 41 | + <waitForElement selector="{{ColumnOnBackend.columnByIndexAndWidthClass('1','50')}}" stepKey="assertInitialWidthClass1"/> |
| 42 | + <waitForElement selector="{{ColumnOnBackend.columnByIndexAndWidthClass('2','50')}}" stepKey="assertInitialWidthClass2"/> |
43 | 43 | <!-- Change Columns To 6:0 Ratio -->
|
44 | 44 | <comment userInput="Change Columns To 6:0 Ratio" stepKey="context2"/>
|
45 | 45 | <actionGroup ref="removeContentTypeFromStageByIndex" stepKey="removeSecondColumn">
|
46 | 46 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
47 | 47 | <argument name="contentTypeNumber" value="2"/>
|
48 | 48 | </actionGroup>
|
49 | 49 | <!-- Assert the width class changed to 100 correctly on the first column -->
|
50 |
| - <waitForElement selector="{{PageBuilderColumnSection.columnByIndexAndWidthClass('1','100')}}" stepKey="assertWidthClass1"/> |
| 50 | + <waitForElement selector="{{ColumnOnBackend.columnByIndexAndWidthClass('1','100')}}" stepKey="assertWidthClass1"/> |
51 | 51 | <!-- Add a new column -->
|
52 | 52 | <actionGroup ref="dragContentTypeToContainer" stepKey="dragIntoStage">
|
53 | 53 | <argument name="contentType" value="PageBuilderDividerContentType"/>
|
|
123 | 123 | <comment userInput="Change Columns To 5:1 Ratio" stepKey="context1"/>
|
124 | 124 | <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('10')}}" x="$guideWidth" stepKey="dragColumnOneToFive"/>
|
125 | 125 | <!-- Assert the width classes are correct after manual resize -->
|
126 |
| - <waitForElement selector="{{PageBuilderColumnSection.columnByIndexAndWidthClass('1','90')}}" stepKey="assertWidthClass1"/> |
127 |
| - <waitForElement selector="{{PageBuilderColumnSection.columnByIndexAndWidthClass('2','20')}}" stepKey="assertWidthClass2"/> |
| 126 | + <waitForElement selector="{{ColumnOnBackend.columnByIndexAndWidthClass('1','90')}}" stepKey="assertWidthClass1"/> |
| 127 | + <waitForElement selector="{{ColumnOnBackend.columnByIndexAndWidthClass('2','20')}}" stepKey="assertWidthClass2"/> |
128 | 128 | <actionGroup ref="dragContentTypeToContainer" stepKey="dragIntoStage1">
|
129 | 129 | <argument name="contentType" value="PageBuilderDividerContentType"/>
|
130 | 130 | <argument name="containerTargetType" value="PageBuilderColumnContentType"/>
|
|
0 commit comments