Skip to content

Commit 172fc76

Browse files
committed
MC-3167: Update MFTF Tests
- expand panel to access text content type
1 parent 01410c8 commit 172fc76

File tree

4 files changed

+49
-1
lines changed

4 files changed

+49
-1
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Data/TextData.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<!-- Text -->
1212
<entity name="PageBuilderTextContentType" type="pagebuilder_text_property">
1313
<data key="name">Text</data>
14-
<data key="section">General</data>
14+
<data key="section">Elements</data>
1515
<data key="fieldName">text</data>
1616
<data key="cmsPageLinkName" unique="suffix">cms-page-link-</data>
1717
<data key="value">test string</data>

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

Lines changed: 12 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="PageBuilderTextContentType"/>
33+
</actionGroup>
3134
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
3235
<argument name="contentType" value="PageBuilderTextContentType"/>
3336
</actionGroup>
@@ -181,6 +184,9 @@
181184
</actionGroup>
182185
<!-- Add Alignment: Default -->
183186
<comment userInput="Add Alignment: Default" stepKey="commentAddAlignmentDefault"/>
187+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
188+
<argument name="group" value="PageBuilderTextContentType"/>
189+
</actionGroup>
184190
<actionGroup ref="dragContentTypeToContainer" stepKey="dragTextIntoStage1">
185191
<argument name="contentType" value="PageBuilderTextContentType"/>
186192
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -401,6 +407,9 @@
401407
</actionGroup>
402408
<!-- Add Border: None -->
403409
<comment userInput="Add Border: None" stepKey="commentAddBorderNone"/>
410+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
411+
<argument name="group" value="PageBuilderTextContentType"/>
412+
</actionGroup>
404413
<actionGroup ref="dragContentTypeToContainer" stepKey="dragTextIntoStage1">
405414
<argument name="contentType" value="PageBuilderTextContentType"/>
406415
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -899,6 +908,9 @@
899908
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings2"/>
900909
<!-- Add Border Color: #FF0000 -->
901910
<comment userInput="Add Border Color: Hex #FF0000" stepKey="commentAddBorderColorHex"/>
911+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
912+
<argument name="group" value="PageBuilderTextContentType"/>
913+
</actionGroup>
902914
<actionGroup ref="dragContentTypeToContainer" stepKey="dragTextIntoStage3">
903915
<argument name="contentType" value="PageBuilderTextContentType"/>
904916
<argument name="containerTargetType" value="PageBuilderRowContentType"/>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,9 @@
855855
<argument name="containerTargetType" value="PageBuilderColumnContentType"/>
856856
<argument name="containerTargetIndex" value="3"/>
857857
</actionGroup>
858+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
859+
<argument name="group" value="PageBuilderTextContentType"/>
860+
</actionGroup>
858861
<actionGroup ref="dragContentTypeToContainer" stepKey="addText1">
859862
<argument name="contentType" value="PageBuilderTextContentType"/>
860863
<argument name="containerTargetType" value="PageBuilderColumnContentType"/>

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
<actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage1">
3333
<argument name="CMSPage" value="$$createCMSPage$$"/>
3434
</actionGroup>
35+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
36+
<argument name="group" value="PageBuilderTextContentType"/>
37+
</actionGroup>
3538
<actionGroup ref="dragContentTypeToStage" stepKey="dragButtonsOntoStage">
3639
<argument name="contentType" value="PageBuilderTextContentType"/>
3740
</actionGroup>
@@ -105,6 +108,9 @@
105108
<after>
106109
<actionGroup ref="logout" stepKey="logout"/>
107110
</after>
111+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
112+
<argument name="group" value="PageBuilderTextContentType"/>
113+
</actionGroup>
108114
<actionGroup ref="dragContentTypeToStage" stepKey="dragButtonsOntoStage">
109115
<argument name="contentType" value="PageBuilderTextContentType"/>
110116
</actionGroup>
@@ -157,6 +163,9 @@
157163
<after>
158164
<actionGroup ref="logout" stepKey="logout"/>
159165
</after>
166+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
167+
<argument name="group" value="PageBuilderTextContentType"/>
168+
</actionGroup>
160169
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
161170
<argument name="contentType" value="PageBuilderTextContentType"/>
162171
</actionGroup>
@@ -188,6 +197,9 @@
188197
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
189198
<argument name="contentType" value="PageBuilderTextContentType"/>
190199
</actionGroup>
200+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
201+
<argument name="group" value="PageBuilderTextContentType"/>
202+
</actionGroup>
191203
<actionGroup ref="dragContentTypeToStage" stepKey="dragTextIntoStage">
192204
<argument name="contentType" value="PageBuilderTextContentType"/>
193205
</actionGroup>
@@ -313,6 +325,9 @@
313325
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
314326
<argument name="contentType" value="PageBuilderTextContentType"/>
315327
</actionGroup>
328+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
329+
<argument name="group" value="PageBuilderTextContentType"/>
330+
</actionGroup>
316331
<actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToStage">
317332
<argument name="contentType" value="PageBuilderTextContentType"/>
318333
</actionGroup>
@@ -482,6 +497,9 @@
482497
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
483498
<argument name="contentType" value="PageBuilderTextContentType"/>
484499
</actionGroup>
500+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
501+
<argument name="group" value="PageBuilderTextContentType"/>
502+
</actionGroup>
485503
<actionGroup ref="dragContentTypeToStage" stepKey="dragIntoStage">
486504
<argument name="contentType" value="PageBuilderTextContentType"/>
487505
</actionGroup>
@@ -666,6 +684,9 @@
666684
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
667685
<argument name="contentType" value="PageBuilderTextContentType"/>
668686
</actionGroup>
687+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
688+
<argument name="group" value="PageBuilderTextContentType"/>
689+
</actionGroup>
669690
<actionGroup ref="dragContentTypeToStage" stepKey="dragIntoStage">
670691
<argument name="contentType" value="PageBuilderTextContentType"/>
671692
</actionGroup>
@@ -719,6 +740,9 @@
719740
<after>
720741
<actionGroup ref="logout" stepKey="logout"/>
721742
</after>
743+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
744+
<argument name="group" value="PageBuilderTextContentType"/>
745+
</actionGroup>
722746
<actionGroup ref="dragContentTypeToStage" stepKey="dragIntoStage">
723747
<argument name="contentType" value="PageBuilderTextContentType"/>
724748
</actionGroup>
@@ -760,6 +784,9 @@
760784
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
761785
<argument name="contentType" value="PageBuilderTextContentType"/>
762786
</actionGroup>
787+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
788+
<argument name="group" value="PageBuilderTextContentType"/>
789+
</actionGroup>
763790
<actionGroup ref="dragContentTypeToStage" stepKey="dragIntoStage">
764791
<argument name="contentType" value="PageBuilderTextContentType"/>
765792
</actionGroup>
@@ -827,6 +854,9 @@
827854
<actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/>
828855
<actionGroup ref="logout" stepKey="logout"/>
829856
</after>
857+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
858+
<argument name="group" value="PageBuilderTextContentType"/>
859+
</actionGroup>
830860
<actionGroup ref="dragContentTypeToStage" stepKey="dragIntoStage">
831861
<argument name="contentType" value="PageBuilderTextContentType"/>
832862
</actionGroup>
@@ -898,6 +928,9 @@
898928
<actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/>
899929
<actionGroup ref="logout" stepKey="logout"/>
900930
</after>
931+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
932+
<argument name="group" value="PageBuilderTextContentType"/>
933+
</actionGroup>
901934
<actionGroup ref="dragContentTypeToStage" stepKey="dragIntoStage">
902935
<argument name="contentType" value="PageBuilderTextContentType"/>
903936
</actionGroup>

0 commit comments

Comments
 (0)