Skip to content

Commit 98ff613

Browse files
committed
MAGETWO-85421: Build Stabilization
1 parent df608f6 commit 98ff613

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Cms/Test/AdminAddWidgetToWYSIWYGWithRecentlyComparedProductsTypeCest.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
-->
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
10+
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
1111
<test name="AddWidgetToWYSIWYGWithTypeOfRecentlyComparedProducts">
1212
<annotations>
13-
<features value="Add Widget to WYSIWYG"/>
14-
<stories value="Widgets in WYSIWYG"/>
15-
<group value="recentlyCompared"/>
13+
<features value="MAGETWO-36659-[CMS] WYSIWYG update"/>
14+
<stories value="MAGETWO-42156-Widgets in WYSIWYG"/>
15+
<group value="Cms"/>
1616
<title value="Create CMS Page With Widget Type: Recently Compared Products"/>
1717
<description value="Create CMS Page With Widget Type: Recently Compared Products"/>
1818
<severity value="CRITICAL"/>
@@ -33,10 +33,10 @@
3333
<waitForPageLoad stepKey="wait1"/>
3434
<fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle"/>
3535
<click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickContentTab" />
36-
<waitForElementVisible selector="{{CmsWYSIWYGSection.TinyMCE4}}" stepKey="waitForTinyMCE4"/>
36+
<waitForElementVisible selector="{{TinyMCESection.TinyMCE4}}" stepKey="waitForTinyMCE4"/>
3737
<executeJS function="tinyMCE.activeEditor.setContent('Hello CMS Page!');" stepKey="executeJSFillContent"/>
38-
<seeElement selector="{{CmsWYSIWYGSection.InsertWidgetIcon}}" stepKey="seeWidgetIcon" />
39-
<click selector="{{CmsWYSIWYGSection.InsertWidgetIcon}}" stepKey="clickInsertWidgetIcon" />
38+
<seeElement selector="{{TinyMCESection.InsertWidgetIcon}}" stepKey="seeWidgetIcon" />
39+
<click selector="{{TinyMCESection.InsertWidgetIcon}}" stepKey="clickInsertWidgetIcon" />
4040
<waitForPageLoad stepKey="waitForPageLoad" />
4141
<see userInput="Inserting a widget does not create a widget instance." stepKey="seeMessage" />
4242
<waitForPageLoad stepKey="wait2"/>
@@ -76,9 +76,11 @@
7676
<!--see widget on Storefront-->
7777
<see userInput="Hello CMS Page!" stepKey="seeContent"/>
7878
<waitForPageLoad stepKey="wait6" />
79-
<waitForText userInput="$$createPreReqProduct.name$$" stepKey="waiForProductVisible" />
79+
<waitForText userInput="$$createPreReqProduct.name$$" stepKey="waitForProductVisible" />
8080
<see userInput="$$createPreReqProduct.name$$" stepKey="seeProductName" />
8181
<after>
82+
<deleteData createDataKey="createPreReqCategory" stepKey="deletePreReqCatalog" />
83+
<deleteData createDataKey="createPreReqProduct" stepKey="deletePreReqProduct" />
8284
<actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/>
8385
<actionGroup ref="logout" stepKey="logout"/>
8486
</after>

0 commit comments

Comments
 (0)