Skip to content

Commit 5ab7c91

Browse files
committed
MC-3167: Update MFTF Tests
- expand panel to access heading content type for heading tests
1 parent 75ba918 commit 5ab7c91

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
<after>
2929
<actionGroup ref="logout" stepKey="logout"/>
3030
</after>
31+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
32+
<argument name="group" value="PageBuilderHeadingContentType"/>
33+
</actionGroup>
3134
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
3235
<argument name="contentType" value="PageBuilderHeadingContentType"/>
3336
</actionGroup>
@@ -108,6 +111,9 @@
108111
</actionGroup>
109112
<!-- Add Alignment: Default -->
110113
<comment userInput="Add Alignment: Default" stepKey="commentAddAlignmentDefault"/>
114+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
115+
<argument name="group" value="PageBuilderHeadingContentType"/>
116+
</actionGroup>
111117
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingIntoStage1">
112118
<argument name="contentType" value="PageBuilderHeadingContentType"/>
113119
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -346,6 +352,9 @@
346352
</actionGroup>
347353
<!-- Add Alignment: Default -->
348354
<comment userInput="Add Alignment: Default" stepKey="commentAddAlignmentDefault"/>
355+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
356+
<argument name="group" value="PageBuilderHeadingContentType"/>
357+
</actionGroup>
349358
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingIntoStage1">
350359
<argument name="contentType" value="PageBuilderHeadingContentType"/>
351360
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -584,6 +593,9 @@
584593
</actionGroup>
585594
<!-- Add Alignment: Default -->
586595
<comment userInput="Add Alignment: Default" stepKey="commentAddAlignmentDefault"/>
596+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
597+
<argument name="group" value="PageBuilderHeadingContentType"/>
598+
</actionGroup>
587599
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingIntoStage1">
588600
<argument name="contentType" value="PageBuilderHeadingContentType"/>
589601
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -822,6 +834,9 @@
822834
</actionGroup>
823835
<!-- Add Alignment: Default -->
824836
<comment userInput="Add Alignment: Default" stepKey="commentAddAlignmentDefault"/>
837+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
838+
<argument name="group" value="PageBuilderHeadingContentType"/>
839+
</actionGroup>
825840
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingIntoStage1">
826841
<argument name="contentType" value="PageBuilderHeadingContentType"/>
827842
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -1060,6 +1075,9 @@
10601075
</actionGroup>
10611076
<!-- Add Alignment: Default -->
10621077
<comment userInput="Add Alignment: Default" stepKey="commentAddAlignmentDefault"/>
1078+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1079+
<argument name="group" value="PageBuilderHeadingContentType"/>
1080+
</actionGroup>
10631081
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingIntoStage1">
10641082
<argument name="contentType" value="PageBuilderHeadingContentType"/>
10651083
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -1298,6 +1316,9 @@
12981316
</actionGroup>
12991317
<!-- Add Alignment: Default -->
13001318
<comment userInput="Add Alignment: Default" stepKey="commentAddAlignmentDefault"/>
1319+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1320+
<argument name="group" value="PageBuilderHeadingContentType"/>
1321+
</actionGroup>
13011322
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingIntoStage1">
13021323
<argument name="contentType" value="PageBuilderHeadingContentType"/>
13031324
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -1533,6 +1554,9 @@
15331554
<argument name="containerTargetIndex" value="1" />
15341555
<argument name="contentTypeIndex" value="3"/>
15351556
</actionGroup>
1557+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1558+
<argument name="group" value="PageBuilderHeadingContentType"/>
1559+
</actionGroup>
15361560
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeading1ToFirstColumn">
15371561
<argument name="contentType" value="PageBuilderHeadingContentType"/>
15381562
<argument name="containerTargetType" value="PageBuilderColumnContentType"/>

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

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
3232
<argument name="contentType" value="PageBuilderHeadingContentType"/>
3333
</actionGroup>
34+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
35+
<argument name="group" value="PageBuilderHeadingContentType"/>
36+
</actionGroup>
3437
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
3538
<argument name="contentType" value="PageBuilderHeadingContentType"/>
3639
</actionGroup>
@@ -76,6 +79,9 @@
7679
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
7780
<argument name="contentType" value="PageBuilderHeadingContentType"/>
7881
</actionGroup>
82+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
83+
<argument name="group" value="PageBuilderHeadingContentType"/>
84+
</actionGroup>
7985
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
8086
<argument name="contentType" value="PageBuilderHeadingContentType"/>
8187
</actionGroup>
@@ -151,6 +157,9 @@
151157
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
152158
<argument name="contentType" value="PageBuilderHeadingContentType"/>
153159
</actionGroup>
160+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
161+
<argument name="group" value="PageBuilderHeadingContentType"/>
162+
</actionGroup>
154163
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
155164
<argument name="contentType" value="PageBuilderHeadingContentType"/>
156165
</actionGroup>
@@ -290,6 +299,9 @@
290299
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
291300
<argument name="contentType" value="PageBuilderHeadingContentType"/>
292301
</actionGroup>
302+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
303+
<argument name="group" value="PageBuilderHeadingContentType"/>
304+
</actionGroup>
293305
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
294306
<argument name="contentType" value="PageBuilderHeadingContentType"/>
295307
</actionGroup>
@@ -459,6 +471,9 @@
459471
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
460472
<argument name="contentType" value="PageBuilderHeadingContentType"/>
461473
</actionGroup>
474+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
475+
<argument name="group" value="PageBuilderHeadingContentType"/>
476+
</actionGroup>
462477
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
463478
<argument name="contentType" value="PageBuilderHeadingContentType"/>
464479
</actionGroup>
@@ -497,6 +512,9 @@
497512
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
498513
<argument name="contentType" value="PageBuilderHeadingContentType"/>
499514
</actionGroup>
515+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
516+
<argument name="group" value="PageBuilderHeadingContentType"/>
517+
</actionGroup>
500518
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
501519
<argument name="contentType" value="PageBuilderHeadingContentType"/>
502520
</actionGroup>
@@ -542,6 +560,9 @@
542560
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
543561
<argument name="contentType" value="PageBuilderHeadingContentType"/>
544562
</actionGroup>
563+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
564+
<argument name="group" value="PageBuilderHeadingContentType"/>
565+
</actionGroup>
545566
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
546567
<argument name="contentType" value="PageBuilderHeadingContentType"/>
547568
</actionGroup>
@@ -594,6 +615,9 @@
594615
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
595616
<argument name="contentType" value="PageBuilderHeadingContentType"/>
596617
</actionGroup>
618+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
619+
<argument name="group" value="PageBuilderHeadingContentType"/>
620+
</actionGroup>
597621
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
598622
<argument name="contentType" value="PageBuilderHeadingContentType"/>
599623
</actionGroup>
@@ -646,6 +670,9 @@
646670
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
647671
<argument name="contentType" value="PageBuilderHeadingContentType"/>
648672
</actionGroup>
673+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
674+
<argument name="group" value="PageBuilderHeadingContentType"/>
675+
</actionGroup>
649676
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
650677
<argument name="contentType" value="PageBuilderHeadingContentType"/>
651678
</actionGroup>
@@ -698,6 +725,9 @@
698725
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
699726
<argument name="contentType" value="PageBuilderHeadingContentType"/>
700727
</actionGroup>
728+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
729+
<argument name="group" value="PageBuilderHeadingContentType"/>
730+
</actionGroup>
701731
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
702732
<argument name="contentType" value="PageBuilderHeadingContentType"/>
703733
</actionGroup>
@@ -750,6 +780,9 @@
750780
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
751781
<argument name="contentType" value="PageBuilderHeadingContentType"/>
752782
</actionGroup>
783+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
784+
<argument name="group" value="PageBuilderHeadingContentType"/>
785+
</actionGroup>
753786
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
754787
<argument name="contentType" value="PageBuilderHeadingContentType"/>
755788
</actionGroup>
@@ -802,6 +835,9 @@
802835
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
803836
<argument name="contentType" value="PageBuilderHeadingContentType"/>
804837
</actionGroup>
838+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
839+
<argument name="group" value="PageBuilderHeadingContentType"/>
840+
</actionGroup>
805841
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
806842
<argument name="contentType" value="PageBuilderHeadingContentType"/>
807843
</actionGroup>
@@ -854,6 +890,9 @@
854890
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
855891
<argument name="contentType" value="PageBuilderHeadingContentType"/>
856892
</actionGroup>
893+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
894+
<argument name="group" value="PageBuilderHeadingContentType"/>
895+
</actionGroup>
857896
<actionGroup ref="dragContentTypeToStage" stepKey="dragHeadingIntoStage">
858897
<argument name="contentType" value="PageBuilderHeadingContentType"/>
859898
</actionGroup>
@@ -909,6 +948,9 @@
909948
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
910949
<argument name="contentType" value="PageBuilderHeadingContentType"/>
911950
</actionGroup>
951+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
952+
<argument name="group" value="PageBuilderHeadingContentType"/>
953+
</actionGroup>
912954
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
913955
<argument name="contentType" value="PageBuilderHeadingContentType"/>
914956
</actionGroup>
@@ -1058,6 +1100,9 @@
10581100
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
10591101
<argument name="contentType" value="PageBuilderHeadingContentType"/>
10601102
</actionGroup>
1103+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1104+
<argument name="group" value="PageBuilderHeadingContentType"/>
1105+
</actionGroup>
10611106
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
10621107
<argument name="contentType" value="PageBuilderHeadingContentType"/>
10631108
</actionGroup>

0 commit comments

Comments
 (0)