Skip to content

Commit 13baf92

Browse files
Robert ClendeninRobert Clendenin
authored andcommitted
MC-230: Customer should be able to see basic Bundle product details
1 parent de8e35f commit 13baf92

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

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

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,11 @@
88
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
1010
<test name="StorefrontBundleProductDetailsTest">
11-
<remove keyForRemoval="fillLongDescription"/>
12-
<click selector="{{PageBuilderCatalog.openPageBuilder}}" stepKey="clickOnPageBuilderBtn" after="fillShortDescription"/>
13-
<waitForPageLoad stepKey="waitForPageLoadPageBuilder" after="clickOnPageBuilderBtn"/>
14-
<waitForElementVisible selector="{{PageBuilderPanel.generalGroup}}" stepKey="waiForPageBuilderVisible" after="waitForPageLoadPageBuilder"/>
15-
<waitForElementVisible selector="{{PageBuilderStage.stageWrapperFullScreen}}" stepKey="seePageBuilderFullSizeScreen" after="waiForPageBuilderVisible"/>
16-
<actionGroup ref="dragContentTypeToStage" stepKey="dragTextIntoStage" after="seePageBuilderFullSizeScreen">
17-
<argument name="contentType" value="PageBuilderTextContentType"/>
18-
</actionGroup>
19-
<actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuOnStage" after="dragTextIntoStage">
20-
<argument name="contentType" value="PageBuilderTextContentType"/>
21-
<argument name="contentTypeIndex" value="1"/>
22-
</actionGroup>
23-
<fillField selector="{{TextOnConfiguration.textArea}}" userInput="This is the long description" stepKey="addTextToEditor" after="openEditMenuOnStage"/>
24-
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings2" after="addTextToEditor"/>
25-
<click selector="{{PageBuilderStage.exitFullScreen}}" stepKey="exitPageBuilderFullScreen" after="saveEditPanelSettings2"/>
26-
<waitForPageLoad stepKey="waitForReturn" after="exitPageBuilderFullScreen"/>
11+
<before>
12+
<actionGroup ref="disablePageBuilderSetting" stepKey="turnOffPageBuilder" after="login"/>
13+
</before>
14+
<after>
15+
<actionGroup ref="enablePageBuilderSetting" stepKey="turnOnPageBuilder" before="logout"/>
16+
</after>
2717
</test>
2818
</tests>

0 commit comments

Comments
 (0)