File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed
app/code/Magento/PageBuilder/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change 8
8
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd" >
10
10
<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 >
27
17
</test >
28
18
</tests >
You can’t perform that action at this time.
0 commit comments