Skip to content

Commit 4c0f020

Browse files
MC-5906: The order of product SKU is not respected
- Fix fucntional test
1 parent ca6f3c0 commit 4c0f020

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/code/Magento/Cms/Test/Mftf/ActionGroup/ClearWidgetsFromCMSContentActionGroup.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<waitForPageLoad stepKey="waitEditHomePagePageToLoad"/>
1313
<click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickContentTab" />
1414
<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"/>
1519
<executeJS function="tinyMCE.activeEditor.setContent('Hello TinyMCE4!');" stepKey="executeJSFillContent1"/>
1620
<click selector="{{InsertWidgetSection.save}}" stepKey="saveWidget"/>
1721
<waitForPageLoad stepKey="waitSaveToBeApplied"/>

app/code/Magento/Cms/Test/Mftf/Section/TinyMCESection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<element name="InsertTable" type="button" selector=".mce-i-table" />
3333
<element name="SpecialCharacter" type="button" selector=".mce-i-charmap" />
3434
<element name="WidgetButton" type="button" selector="span[class*='magento-widget mceNonEditable']"/>
35+
<element name="EditorContent" type="input" selector="#tinymce"/>
3536
</section>
3637
<section name="MediaGallerySection">
3738
<element name="Browse" type="button" selector=".mce-i-browse"/>

0 commit comments

Comments
 (0)