Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit deaaa58

Browse files
committed
MAGETWO-87243: Unskip failing MFTF tests for WYSIWYG
- Add conditionClick to see TinyMCE4 and change entity of productAttribute creation regarding changes from mainline
1 parent 56e3dd0 commit deaaa58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Newsletter/Test/AdminAddVariableToWYSIWYGNewsletterCest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<test name="AddVariableToNewsletter">
1111
<annotations>
1212
<features value="MAGETWO-36659-[CMS] WYSIWYG update"/>
13-
<stories value="MAGETWO-42158-Variables with WYSIWYG"/>
13+
<stories value="MAGETWO-42158-Variable with WYSIWYG"/>
1414
<group value="Newsletter"/>
1515
<title value="Admin should be able to add variable to WYSIWYG Editor of Newsletter"/>
1616
<description value="Admin should be able to add variable to WYSIWYG Editor Newsletter"/>
@@ -38,6 +38,7 @@
3838
<fillField selector="{{BasicFieldNewsletterSection.senderName}}" userInput="{{_defaultNewsletter.senderName}}" stepKey="fillSenderName" />
3939
<fillField selector="{{BasicFieldNewsletterSection.senderEmail}}" userInput="{{_defaultNewsletter.senderEmail}}" stepKey="fillSenderEmail" />
4040
<waitForPageLoad time="10" stepKey="waitForPageLoad21"/>
41+
<conditionalClick selector="#toggletext" dependentSelector=".mce-tinymce" visible="false" stepKey="clickBtnIfTinyMCEHidden"/>
4142
<waitForElementVisible selector="{{NewsletterWYSIWYGSection.TinyMCE4}}" stepKey="waitForTinyMCE4"/>
4243
<executeJS function="tinyMCE.get('text').setContent('Hello World From Newsletter Template!');" stepKey="executeJSFillContent"/>
4344
<seeElement selector="{{NewsletterWYSIWYGSection.InsertVariableIcon}}" stepKey="seeInsertVariableIcon" />

0 commit comments

Comments
 (0)