File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
app/code/Magento/Cms/Test/Mftf Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 12
12
<waitForPageLoad stepKey =" waitEditHomePagePageToLoad" />
13
13
<click selector =" {{CmsNewPagePageContentSection.header}}" stepKey =" clickContentTab" />
14
14
<waitForElementNotVisible selector =" {{CmsWYSIWYGSection.CheckIfTabExpand}}" stepKey =" waitForTabExpand" />
15
+ <executeJS function =" jQuery('[id=\'cms_page_form_content_ifr\']').attr('name', 'preview-iframe')" stepKey =" setPreviewFrameName" />
16
+ <switchToIFrame selector =" preview-iframe" stepKey =" switchToIframe" />
17
+ <fillField selector =" {{TinyMCESection.EditorContent}}" userInput =" Hello TinyMCE4!" stepKey =" clearWidgets" />
18
+ <switchToIFrame stepKey =" switchOutFromIframe" />
15
19
<executeJS function =" tinyMCE.activeEditor.setContent('Hello TinyMCE4!');" stepKey =" executeJSFillContent1" />
16
20
<click selector =" {{InsertWidgetSection.save}}" stepKey =" saveWidget" />
17
21
<waitForPageLoad stepKey =" waitSaveToBeApplied" />
Original file line number Diff line number Diff line change 32
32
<element name =" InsertTable" type =" button" selector =" .mce-i-table" />
33
33
<element name =" SpecialCharacter" type =" button" selector =" .mce-i-charmap" />
34
34
<element name =" WidgetButton" type =" button" selector =" span[class*='magento-widget mceNonEditable']" />
35
+ <element name =" EditorContent" type =" input" selector =" #tinymce" />
35
36
</section >
36
37
<section name =" MediaGallerySection" >
37
38
<element name =" Browse" type =" button" selector =" .mce-i-browse" />
You can’t perform that action at this time.
0 commit comments