Skip to content

Commit 75ba918

Browse files
committed
MC-3167: Update MFTF Tests
- expand panel to access heading content type for common types
1 parent 260ad75 commit 75ba918

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@
116116
<actionGroup ref="logout" stepKey="logout"/>
117117
</after>
118118
<!-- Add a single header into the first row -->
119+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
120+
<argument name="group" value="PageBuilderHeadingContentType"/>
121+
</actionGroup>
119122
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeaderIntoStage">
120123
<argument name="contentType" value="PageBuilderHeadingContentType"/>
121124
</actionGroup>
@@ -162,6 +165,9 @@
162165
<actionGroup ref="logout" stepKey="logout"/>
163166
</after>
164167
<!-- Add a single header into the first row -->
168+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
169+
<argument name="group" value="PageBuilderHeadingContentType"/>
170+
</actionGroup>
165171
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeaderIntoStage">
166172
<argument name="contentType" value="PageBuilderHeadingContentType"/>
167173
</actionGroup>
@@ -214,6 +220,9 @@
214220
<actionGroup ref="logout" stepKey="logout"/>
215221
</after>
216222
<!-- Add a single header into the first row -->
223+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
224+
<argument name="group" value="PageBuilderHeadingContentType"/>
225+
</actionGroup>
217226
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeaderIntoStage">
218227
<argument name="contentType" value="PageBuilderHeadingContentType"/>
219228
</actionGroup>
@@ -273,6 +282,9 @@
273282
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage1">
274283
<argument name="contentType" value="PageBuilderRowContentType"/>
275284
</actionGroup>
285+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
286+
<argument name="group" value="PageBuilderHeadingContentType"/>
287+
</actionGroup>
276288
<actionGroup ref="dragContentTypeToContainer" stepKey="dragContentTypeToStage2">
277289
<argument name="contentType" value="PageBuilderHeadingContentType"/>
278290
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -347,6 +359,9 @@
347359
<actionGroup ref="logout" stepKey="logout"/>
348360
</after>
349361
<!-- Add a single header into the first row -->
362+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
363+
<argument name="group" value="PageBuilderHeadingContentType"/>
364+
</actionGroup>
350365
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeaderIntoStage">
351366
<argument name="contentType" value="PageBuilderHeadingContentType"/>
352367
</actionGroup>
@@ -421,6 +436,9 @@
421436
</actionGroup>
422437

423438
<!-- Add a single header into the first row -->
439+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
440+
<argument name="group" value="PageBuilderHeadingContentType"/>
441+
</actionGroup>
424442
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeaderIntoStage">
425443
<argument name="contentType" value="PageBuilderHeadingContentType"/>
426444
</actionGroup>
@@ -493,6 +511,9 @@
493511
</after>
494512
<!-- Add Heading -->
495513
<comment userInput="Add Heading" stepKey="commentAddHeading"/>
514+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
515+
<argument name="group" value="PageBuilderHeadingContentType"/>
516+
</actionGroup>
496517
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
497518
<argument name="contentType" value="PageBuilderHeadingContentType"/>
498519
</actionGroup>
@@ -550,6 +571,9 @@
550571
</after>
551572
<!-- Add Heading -->
552573
<comment userInput="Add Heading" stepKey="commentAddHeading"/>
574+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
575+
<argument name="group" value="PageBuilderHeadingContentType"/>
576+
</actionGroup>
553577
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
554578
<argument name="contentType" value="PageBuilderHeadingContentType"/>
555579
</actionGroup>
@@ -606,6 +630,9 @@
606630
<actionGroup ref="logout" stepKey="logout"/>
607631
</after>
608632
<!-- Add a single header into the first row -->
633+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
634+
<argument name="group" value="PageBuilderHeadingContentType"/>
635+
</actionGroup>
609636
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeaderIntoStage">
610637
<argument name="contentType" value="PageBuilderHeadingContentType"/>
611638
</actionGroup>

0 commit comments

Comments
 (0)