Skip to content

Commit aa5df63

Browse files
committed
MC-3167: Update MFTF Tests
- expand panel to access newsletter and map content types for tab item tests
1 parent bef4d50 commit aa5df63

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@
165165
<waitForElementVisible selector="{{TabOnStage.tabContent('1')}}" stepKey="waitForFirstTabContent"/>
166166
<waitForElementVisible selector="{{TabOnStage.tabHeader('1')}}" stepKey="waitForFirstTabHeader"/>
167167
<!-- Add Newsletter to Tab -->
168+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroupElements">
169+
<argument name="group" value="PageBuilderNewsletterContentType"/>
170+
</actionGroup>
168171
<actionGroup ref="dragContentTypeToContainer" stepKey="dragNewsletterOntoTab">
169172
<argument name="contentType" value="PageBuilderNewsletterContentType"/>
170173
<argument name="containerTargetType" value="PageBuilderTabContentType"/>
@@ -540,6 +543,9 @@
540543
<waitForElementVisible selector="{{TabOnStage.tabContent('1')}}" stepKey="waitForFirstTabContent"/>
541544
<waitForElementVisible selector="{{TabOnStage.tabHeader('1')}}" stepKey="waitForFirstTabHeader"/>
542545
<!-- Add Map to Tab -->
546+
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroupMedia">
547+
<argument name="group" value="PageBuilderMapContentType"/>
548+
</actionGroup>
543549
<actionGroup ref="dragContentTypeToContainer" stepKey="dragMapOntoTab">
544550
<argument name="contentType" value="PageBuilderMapContentType"/>
545551
<argument name="containerTargetType" value="PageBuilderTabContentType"/>

0 commit comments

Comments
 (0)