Skip to content

Commit 958d5a4

Browse files
committed
MC-3167: Update MFTF Tests
- expand panel to access button content type for button group tests
1 parent 5ab7c91 commit 958d5a4

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
</actionGroup>
3535
<!-- Add Button Group -->
3636
<comment userInput="Add Button Group" stepKey="commentAddButtonGroup"/>
37+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
38+
<argument name="group" value="PageBuilderButtonsContentType"/>
39+
</actionGroup>
3740
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
3841
<argument name="contentType" value="PageBuilderButtonsContentType"/>
3942
</actionGroup>
@@ -78,6 +81,9 @@
7881
<after>
7982
<actionGroup ref="logout" stepKey="logout"/>
8083
</after>
84+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
85+
<argument name="group" value="PageBuilderButtonsContentType"/>
86+
</actionGroup>
8187
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
8288
<argument name="contentType" value="PageBuilderButtonsContentType"/>
8389
</actionGroup>
@@ -115,6 +121,9 @@
115121
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
116122
<argument name="contentType" value="PageBuilderButtonsContentType"/>
117123
</actionGroup>
124+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
125+
<argument name="group" value="PageBuilderButtonsContentType"/>
126+
</actionGroup>
118127
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
119128
<argument name="contentType" value="PageBuilderButtonsContentType"/>
120129
</actionGroup>
@@ -350,6 +359,9 @@
350359
</actionGroup>
351360
<!-- Add Button Group -->
352361
<comment userInput="Add Button Group" stepKey="commentAddButtonGroup"/>
362+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
363+
<argument name="group" value="PageBuilderButtonsContentType"/>
364+
</actionGroup>
353365
<actionGroup ref="dragContentTypeToStage" stepKey="dragButtonsOntoStage">
354366
<argument name="contentType" value="PageBuilderButtonsContentType"/>
355367
</actionGroup>
@@ -449,6 +461,9 @@
449461
</actionGroup>
450462
<!-- Add Button Group -->
451463
<comment userInput="Add Button Group" stepKey="commentAddButtonGroup"/>
464+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
465+
<argument name="group" value="PageBuilderButtonsContentType"/>
466+
</actionGroup>
452467
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
453468
<argument name="contentType" value="PageBuilderButtonsContentType"/>
454469
</actionGroup>
@@ -585,6 +600,9 @@
585600
</after>
586601
<!-- Add Button Group -->
587602
<comment userInput="Add Button Group" stepKey="commentAddButtonGroup"/>
603+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
604+
<argument name="group" value="PageBuilderButtonsContentType"/>
605+
</actionGroup>
588606
<actionGroup ref="dragContentTypeToStage" stepKey="dragButtonsOntoStage">
589607
<argument name="contentType" value="PageBuilderButtonsContentType"/>
590608
</actionGroup>
@@ -619,6 +637,9 @@
619637
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
620638
<argument name="contentType" value="PageBuilderButtonsContentType"/>
621639
</actionGroup>
640+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
641+
<argument name="group" value="PageBuilderButtonsContentType"/>
642+
</actionGroup>
622643
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
623644
<argument name="contentType" value="PageBuilderButtonsContentType"/>
624645
</actionGroup>
@@ -688,6 +709,9 @@
688709
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
689710
<argument name="contentType" value="PageBuilderButtonsContentType"/>
690711
</actionGroup>
712+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
713+
<argument name="group" value="PageBuilderButtonsContentType"/>
714+
</actionGroup>
691715
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
692716
<argument name="contentType" value="PageBuilderButtonsContentType"/>
693717
</actionGroup>
@@ -822,6 +846,9 @@
822846
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
823847
<argument name="contentType" value="PageBuilderButtonsContentType"/>
824848
</actionGroup>
849+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
850+
<argument name="group" value="PageBuilderButtonsContentType"/>
851+
</actionGroup>
825852
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
826853
<argument name="contentType" value="PageBuilderButtonsContentType"/>
827854
</actionGroup>
@@ -891,6 +918,9 @@
891918
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
892919
<argument name="contentType" value="PageBuilderButtonsContentType"/>
893920
</actionGroup>
921+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
922+
<argument name="group" value="PageBuilderButtonsContentType"/>
923+
</actionGroup>
894924
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
895925
<argument name="contentType" value="PageBuilderButtonsContentType"/>
896926
</actionGroup>
@@ -952,6 +982,9 @@
952982
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
953983
<argument name="contentType" value="PageBuilderButtonsContentType"/>
954984
</actionGroup>
985+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
986+
<argument name="group" value="PageBuilderButtonsContentType"/>
987+
</actionGroup>
955988
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
956989
<argument name="contentType" value="PageBuilderButtonsContentType"/>
957990
</actionGroup>
@@ -1015,6 +1048,9 @@
10151048
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
10161049
<argument name="contentType" value="PageBuilderButtonsContentType"/>
10171050
</actionGroup>
1051+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1052+
<argument name="group" value="PageBuilderButtonsContentType"/>
1053+
</actionGroup>
10181054
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
10191055
<argument name="contentType" value="PageBuilderButtonsContentType"/>
10201056
</actionGroup>
@@ -1163,6 +1199,9 @@
11631199
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
11641200
<argument name="contentType" value="PageBuilderButtonsContentType"/>
11651201
</actionGroup>
1202+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1203+
<argument name="group" value="PageBuilderButtonsContentType"/>
1204+
</actionGroup>
11661205
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
11671206
<argument name="contentType" value="PageBuilderButtonsContentType"/>
11681207
</actionGroup>
@@ -1276,6 +1315,9 @@
12761315
<actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToContentCreatedCMSPage">
12771316
<argument name="CMSPage" value="$$createPreReqCMSPage$$"/>
12781317
</actionGroup>
1318+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1319+
<argument name="group" value="PageBuilderButtonsContentType"/>
1320+
</actionGroup>
12791321
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
12801322
<argument name="contentType" value="PageBuilderButtonsContentType"/>
12811323
</actionGroup>
@@ -1388,6 +1430,9 @@
13881430
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
13891431
<argument name="contentType" value="PageBuilderButtonsContentType"/>
13901432
</actionGroup>
1433+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1434+
<argument name="group" value="PageBuilderButtonsContentType"/>
1435+
</actionGroup>
13911436
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
13921437
<argument name="contentType" value="PageBuilderButtonsContentType"/>
13931438
</actionGroup>
@@ -1508,6 +1553,9 @@
15081553
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupElements">
15091554
<argument name="group" value="PageBuilderButtonsContentType"/>
15101555
</actionGroup>
1556+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
1557+
<argument name="group" value="PageBuilderButtonsContentType"/>
1558+
</actionGroup>
15111559
<actionGroup ref="dragContentTypeToContainer" stepKey="dragButtonsOntoColumn">
15121560
<argument name="contentType" value="PageBuilderButtonsContentType"/>
15131561
<argument name="containerTargetType" value="PageBuilderColumnContentType"/>

0 commit comments

Comments
 (0)