Skip to content

Commit f2e5550

Browse files
committed
MC-3167: Update MFTF Tests
- expand panel to access text and divider content types for various tests
1 parent aa5df63 commit f2e5550

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,6 +1812,9 @@
18121812
</actionGroup>
18131813
<!-- Add Margins: Empty -->
18141814
<comment userInput="Add Margins: Empty" stepKey="commentAddMarginsEmpty"/>
1815+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1816+
<argument name="group" value="PageBuilderTextContentType"/>
1817+
</actionGroup>
18151818
<actionGroup ref="dragContentTypeToContainer" stepKey="dragTextIntoStage1">
18161819
<argument name="contentType" value="PageBuilderTextContentType"/>
18171820
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -1832,9 +1835,6 @@
18321835
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings1"/>
18331836
<!-- Add Margins: 0 -->
18341837
<comment userInput="Add Margins: 0" stepKey="commentAddMargins0"/>
1835-
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1836-
<argument name="group" value="PageBuilderTextContentType"/>
1837-
</actionGroup>
18381838
<actionGroup ref="dragContentTypeToContainer" stepKey="dragTextIntoStage2">
18391839
<argument name="contentType" value="PageBuilderTextContentType"/>
18401840
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -2488,6 +2488,9 @@
24882488
</actionGroup>
24892489
<!-- Add Text To Stage -->
24902490
<comment userInput="Add Text To Stage" stepKey="commentAddText"/>
2491+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
2492+
<argument name="group" value="PageBuilderTextContentType"/>
2493+
</actionGroup>
24912494
<actionGroup ref="dragContentTypeToContainer" stepKey="dragTextIntoStage">
24922495
<argument name="contentType" value="PageBuilderTextContentType"/>
24932496
<argument name="containerTargetType" value="PageBuilderRowContentType"/>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,9 @@
498498
<argument name="containerTargetIndex" value="2"/>
499499
</actionGroup>
500500
<dragAndDrop selector1="{{ColumnOnBackend.columnX('2')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('10')}}" x="$guideWidth" stepKey="resizeColumn2ToFive"/>
501+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
502+
<argument name="group" value="PageBuilderDividerContentType"/>
503+
</actionGroup>
501504
<actionGroup ref="dragContentTypeToContainer" stepKey="dragIntoStage1">
502505
<argument name="contentType" value="PageBuilderDividerContentType"/>
503506
<argument name="containerTargetType" value="PageBuilderColumnContentType"/>

0 commit comments

Comments
 (0)