Skip to content

Commit e0babb3

Browse files
committed
MAGETWO-87898: Stabilize tests
1 parent 435d280 commit e0babb3

File tree

2 files changed

+1
-37
lines changed

2 files changed

+1
-37
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Banner/Test/AdminPageBuilderEnabledTest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
<argument name="Banner" value="sampleBanner"/>
7878
</actionGroup>
7979
<seeElement selector="{{TinyMCESection.TinyMCE4}}" stepKey="seeTinyMCE4Visible" />
80-
<!--Missing step of asserting PageBuilder text convert to TinyMCE4 (blocked by current testing framework - unable to grab text from TinyMCE4)-->
8180
<executeJS function="return (function() {var div = document.createElement('div'); div.innerHTML = tinymce.activeEditor.getContent(); return div.innerText.trim();}())" stepKey="textFromPageBuilder"/>
8281
<assertEquals stepKey="assertEquals1" message="pass">
8382
<expectedResult type="string">Hello Dynamic Block from PageBuilder</expectedResult>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Staging/Test/AdminPageBuilderEnabledTest.xml

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,41 +10,6 @@
1010

1111
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1212
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
13-
<test name="VerifyPageBuilderVisibleOnStagingOfPages">
14-
<annotations>
15-
<features value="Pagebuilder"/>
16-
<stories value="MAGETWO-71404: Enabling PageBuilder on Webstore"/>
17-
<title value="Admin are able to see PageBuilder on Staging of CMS Page, Block Page after enable PageBuilder from Configuration"/>
18-
<description value="Admin are able to see PageBuilder on Staging of CMS Page, Block Page after enable PageBuilder from Configuration"/>
19-
<severity value="CRITICAL"/>
20-
<group value="pagebuilder"/>
21-
<group value="pagebuilder-ee"/>
22-
</annotations>
23-
<before>
24-
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
25-
<actionGroup ref="enablePageBuilderSetting" stepKey="enablePageBuilder"/>
26-
<createData entity="_defaultCmsPage" stepKey="createPreReqCMSPage" />
27-
<createData entity="_defaultBlock" stepKey="createPreReqBlock" />
28-
</before>
29-
<after>
30-
<deleteData createDataKey="createPreReqCMSPage" stepKey="deleteCreatePreReqCMSPage"/>
31-
<deleteData createDataKey="createPreReqBlock" stepKey="deleteCreatePreReqBlock"/>
32-
<actionGroup ref="logout" stepKey="logout"/>
33-
</after>
34-
<!--Verify PageBuilder visible on CMS Page creation form-->
35-
<actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToContentCreatedCMSPage1">
36-
<argument name="CMSPage" value="$$createPreReqCMSPage$$"/>
37-
</actionGroup>
38-
<actionGroup ref="navigateToStagingSlideout" stepKey="navigateToStagingSlideoutCMS"/>
39-
<click selector="{{AdminStagingSlideOutSection.contentTab}}" stepKey="expandContentTab" />
40-
<actionGroup ref="verifyPageBuilderVisibleOnPage" stepKey="verifyPageBuilderVisibleOnCMSStaging"/>
41-
<!--Verify PageBuilder visible on CMS Block creation form-->
42-
<actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToContentCreatedBlock">
43-
<argument name="CMSBlockPage" value="$$createPreReqBlock$$"/>
44-
</actionGroup>
45-
<actionGroup ref="navigateToStagingSlideout" stepKey="navigateToStagingSlideoutBlock"/>
46-
<actionGroup ref="verifyPageBuilderVisibleOnPage" stepKey="verifyPageBuilderVisibleOnBlockStaging"/>
47-
</test>
4813
<test name="VerifyPageBuilderVisibleOnPages">
4914
<annotations>
5015
<features value="Pagebuilder"/>
@@ -75,7 +40,7 @@
7540
<!--Verify PageBuilder visible on staging slideout of CMS Page-->
7641
<actionGroup ref="navigateToStagingSlideout" stepKey="navigateToStagingSlideoutCMS"/>
7742
<click selector="{{AdminStagingSlideOutSection.contentTab}}" stepKey="expandContentTab" />
78-
<actionGroup ref="verifyPageBuilderVisibleOnStaging" stepKey="verifyPageBuilderVisibleOnCMSStaging"/>
43+
<actionGroup ref="verifyPageBuilderVisibleOnStaging" stepKey="verifyPageBuilderVisibleOnCmsStaging"/>
7944
<!--Verify PageBuilder visible on CMS Block creation form-->
8045
<actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToContentCreatedBlock">
8146
<argument name="CMSBlockPage" value="$$createPreReqBlock$$"/>

0 commit comments

Comments
 (0)