|
7 | 7 | -->
|
8 | 8 |
|
9 | 9 | <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"> |
11 | 11 | <test name="AddWidgetToWYSIWYGWithTypeOfRecentlyComparedProducts">
|
12 | 12 | <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"/> |
16 | 16 | <title value="Create CMS Page With Widget Type: Recently Compared Products"/>
|
17 | 17 | <description value="Create CMS Page With Widget Type: Recently Compared Products"/>
|
18 | 18 | <severity value="CRITICAL"/>
|
|
33 | 33 | <waitForPageLoad stepKey="wait1"/>
|
34 | 34 | <fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle"/>
|
35 | 35 | <click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickContentTab" />
|
36 |
| - <waitForElementVisible selector="{{CmsWYSIWYGSection.TinyMCE4}}" stepKey="waitForTinyMCE4"/> |
| 36 | + <waitForElementVisible selector="{{TinyMCESection.TinyMCE4}}" stepKey="waitForTinyMCE4"/> |
37 | 37 | <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" /> |
40 | 40 | <waitForPageLoad stepKey="waitForPageLoad" />
|
41 | 41 | <see userInput="Inserting a widget does not create a widget instance." stepKey="seeMessage" />
|
42 | 42 | <waitForPageLoad stepKey="wait2"/>
|
|
76 | 76 | <!--see widget on Storefront-->
|
77 | 77 | <see userInput="Hello CMS Page!" stepKey="seeContent"/>
|
78 | 78 | <waitForPageLoad stepKey="wait6" />
|
79 |
| - <waitForText userInput="$$createPreReqProduct.name$$" stepKey="waiForProductVisible" /> |
| 79 | + <waitForText userInput="$$createPreReqProduct.name$$" stepKey="waitForProductVisible" /> |
80 | 80 | <see userInput="$$createPreReqProduct.name$$" stepKey="seeProductName" />
|
81 | 81 | <after>
|
| 82 | + <deleteData createDataKey="createPreReqCategory" stepKey="deletePreReqCatalog" /> |
| 83 | + <deleteData createDataKey="createPreReqProduct" stepKey="deletePreReqProduct" /> |
82 | 84 | <actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/>
|
83 | 85 | <actionGroup ref="logout" stepKey="logout"/>
|
84 | 86 | </after>
|
|
0 commit comments