Skip to content

Commit 4fba6d0

Browse files
committed
MC-3072: Build stabilization for MC-1263
- Fixed Test
1 parent a31355b commit 4fba6d0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderColumnResizingTest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@
3838
<comment userInput="Get 3/6 Column Width" stepKey="context1"/>
3939
<executeJS function="return document.querySelector('{{ColumnOnBackend.columnX('1')}}').clientWidth" stepKey="initalColumnWidth"/>
4040
<!-- 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"/>
4343
<!-- Change Columns To 6:0 Ratio -->
4444
<comment userInput="Change Columns To 6:0 Ratio" stepKey="context2"/>
4545
<actionGroup ref="removeContentTypeFromStageByIndex" stepKey="removeSecondColumn">
4646
<argument name="contentType" value="PageBuilderColumnContentType"/>
4747
<argument name="contentTypeNumber" value="2"/>
4848
</actionGroup>
4949
<!-- 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"/>
5151
<!-- Add a new column -->
5252
<actionGroup ref="dragContentTypeToContainer" stepKey="dragIntoStage">
5353
<argument name="contentType" value="PageBuilderDividerContentType"/>
@@ -123,8 +123,8 @@
123123
<comment userInput="Change Columns To 5:1 Ratio" stepKey="context1"/>
124124
<dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('10')}}" x="$guideWidth" stepKey="dragColumnOneToFive"/>
125125
<!-- 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"/>
128128
<actionGroup ref="dragContentTypeToContainer" stepKey="dragIntoStage1">
129129
<argument name="contentType" value="PageBuilderDividerContentType"/>
130130
<argument name="containerTargetType" value="PageBuilderColumnContentType"/>

0 commit comments

Comments
 (0)