Skip to content

Commit 260ad75

Browse files
committed
MC-3167: Update MFTF Tests
- expand panel to access heading content type for category, cms, and product
1 parent 16e3dfe commit 260ad75

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
<argument name="property" value="PageBuilderBackgroundColor_HSV_Orange"/>
6060
</actionGroup>
6161
<actionGroup ref="saveEditPanelSettingsFullScreen" stepKey="saveEditPanelSettings"/>
62+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
63+
<argument name="group" value="PageBuilderHeadingContentType"/>
64+
</actionGroup>
6265
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingOntoStage">
6366
<argument name="contentType" value="PageBuilderHeadingContentType"/>
6467
</actionGroup>
@@ -126,6 +129,9 @@
126129
<actionGroup ref="saveEditPanelSettingsFullScreen" stepKey="saveEditPanelSettings"/>
127130
<!-- Add heading to stage -->
128131
<comment userInput="Add heading to stage" stepKey="commentAddHeadingToStage"/>
132+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
133+
<argument name="group" value="PageBuilderHeadingContentType"/>
134+
</actionGroup>
129135
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingOntoStage">
130136
<argument name="contentType" value="PageBuilderHeadingContentType"/>
131137
</actionGroup>

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,14 @@
5353
<argument name="property" value="PageBuilderBackgroundColor_HSV_Orange"/>
5454
</actionGroup>
5555
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
56+
<!-- Add heading to stage -->
57+
<comment userInput="Add heading to stage" stepKey="commentAddHeadingToStage"/>
58+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
59+
<argument name="group" value="PageBuilderHeadingContentType"/>
60+
</actionGroup>
5661
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingOntoStage">
5762
<argument name="contentType" value="PageBuilderHeadingContentType"/>
5863
</actionGroup>
59-
<!-- Add heading to stage -->
60-
<comment userInput="Add heading to stage" stepKey="commentAddHeadingToStage"/>
6164
<actionGroup ref="enterHeadingOnStage" stepKey="enterHeadingOnStage">
6265
<argument name="headingText" value="PageBuilderHeadingTextProperty"/>
6366
</actionGroup>
@@ -110,6 +113,9 @@
110113
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
111114
<!-- Add heading to stage -->
112115
<comment userInput="Add heading to stage" stepKey="commentAddHeadingToStage"/>
116+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
117+
<argument name="group" value="PageBuilderHeadingContentType"/>
118+
</actionGroup>
113119
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingOntoStage">
114120
<argument name="contentType" value="PageBuilderHeadingContentType"/>
115121
</actionGroup>

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
<argument name="property" value="PageBuilderBackgroundColor_HSV_Orange"/>
5252
</actionGroup>
5353
<actionGroup ref="saveEditPanelSettingsFullScreen" stepKey="saveEditPanelSettings"/>
54+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
55+
<argument name="group" value="PageBuilderHeadingContentType"/>
56+
</actionGroup>
5457
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingOntoStage">
5558
<argument name="contentType" value="PageBuilderHeadingContentType"/>
5659
</actionGroup>
@@ -122,6 +125,9 @@
122125
<actionGroup ref="saveEditPanelSettingsFullScreen" stepKey="saveEditPanelSettings"/>
123126
<!-- Add heading to stage -->
124127
<comment userInput="Add heading to stage" stepKey="commentAddHeadingToStage"/>
128+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
129+
<argument name="group" value="PageBuilderHeadingContentType"/>
130+
</actionGroup>
125131
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingOntoStage">
126132
<argument name="contentType" value="PageBuilderHeadingContentType"/>
127133
</actionGroup>

0 commit comments

Comments
 (0)