Skip to content

Commit 16e3dfe

Browse files
committed
MC-3167: Update MFTF Tests
- expand panel to access heading content type for layout content types
1 parent 172fc76 commit 16e3dfe

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@
191191
<argument name="property" value="PageBuilderVerticalAlignmentPropertyTop"/>
192192
</actionGroup>
193193
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsFirstRow"/>
194+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
195+
<argument name="group" value="PageBuilderHeadingContentType"/>
196+
</actionGroup>
194197
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingToFirstRow">
195198
<argument name="contentType" value="PageBuilderHeadingContentType"/>
196199
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -300,6 +303,9 @@
300303
<argument name="property" value="PageBuilderVerticalAlignmentPropertyTop"/>
301304
</actionGroup>
302305
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsFirstRow"/>
306+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
307+
<argument name="group" value="PageBuilderHeadingContentType"/>
308+
</actionGroup>
303309
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingToFirstRow">
304310
<argument name="contentType" value="PageBuilderHeadingContentType"/>
305311
<argument name="containerTargetType" value="PageBuilderRowContentType"/>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -694,9 +694,6 @@
694694
</actionGroup>
695695
<!-- Add Tabs to Stage -->
696696
<comment userInput="Add Tabs to Stage" stepKey="addTabsToStage"/>
697-
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
698-
<argument name="group" value="PageBuilderTabsContentType"/>
699-
</actionGroup>
700697
<actionGroup ref="dragContentTypeToStage" stepKey="dragTabsIntoStage">
701698
<argument name="contentType" value="PageBuilderTabsContentType"/>
702699
</actionGroup>
@@ -706,6 +703,9 @@
706703
<waitForElementVisible selector="{{TabOnStage.tabContent('1')}}" stepKey="waitForFirstTabContent"/>
707704
<waitForElementVisible selector="{{TabOnStage.tabHeader('1')}}" stepKey="waitForFirstTabHeader"/>
708705
<!-- Add Heading to Tab -->
706+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
707+
<argument name="group" value="PageBuilderHeadingContentType"/>
708+
</actionGroup>
709709
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingOntoTab">
710710
<argument name="contentType" value="PageBuilderHeadingContentType"/>
711711
<argument name="containerTargetType" value="PageBuilderTabContentType"/>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,6 @@
371371
</actionGroup>
372372
<!-- Add Tabs to Stage -->
373373
<comment userInput="Add Tabs to Stage" stepKey="addTabsToStage"/>
374-
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
375-
<argument name="group" value="PageBuilderTabsContentType"/>
376-
</actionGroup>
377374
<actionGroup ref="dragContentTypeToStage" stepKey="dragTabsIntoStage">
378375
<argument name="contentType" value="PageBuilderTabsContentType"/>
379376
</actionGroup>
@@ -425,6 +422,9 @@
425422
<argument name="contentType" value="PageBuilderRowContentType"/>
426423
</actionGroup>
427424
<seeNumberOfElements selector="{{RowOnStage.allRows}}" userInput="2" stepKey="seeTwoRows"/>
425+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
426+
<argument name="group" value="PageBuilderHeadingContentType"/>
427+
</actionGroup>
428428
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingOntoNewRow">
429429
<argument name="contentType" value="PageBuilderHeadingContentType"/>
430430
<argument name="containerTargetType" value="PageBuilderRowContentType"/>

0 commit comments

Comments
 (0)