Skip to content

Commit 0e3cdc3

Browse files
committed
MC-4137: TinyMCE Issues within inline WYSIWYG
- Remove map files from new skin - Fix test selector
1 parent dd50165 commit 0e3cdc3

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

app/code/Magento/Catalog/Test/Mftf/Section/AdminCreateProductAttributeSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<element name="Save" type="button" selector="#save" timeout="30"/>
2121
<element name="DeleteAttribute" type="button" selector="#delete" timeout="30"/>
2222
<element name="SaveAndEdit" type="button" selector="#save_and_edit_button" timeout="30"/>
23-
<element name="TinyMCE4" type="button" selector="//span[text()='Default Value']/parent::label/following-sibling::div//div[@class='mce-branding']"/>
23+
<element name="TinyMCE4" type="button" selector="//span[text()='Default Value']/parent::label/following-sibling::div//*[contains(@class,'mce-branding')]"/>
2424
<element name="checkIfTabOpen" selector="//div[@id='advanced_fieldset-wrapper' and not(contains(@class,'opened'))]" type="button"/>
2525
<element name="useInLayeredNavigation" type="select" selector="#is_filterable"/>
2626
<element name="addSwatch" type="button" selector="#add_new_swatch_text_option_button"/>

app/code/Magento/Catalog/Test/Mftf/Section/AdminProductFormSection.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@
121121
<element name="InsertImageIcon" type="button" selector="//div[contains(@id, '{{var1}}')]//i[@class='mce-ico mce-i-image']" parameterized="true"/>
122122
<element name="InsertTable" type="button" selector="//div[contains(@id, '{{var1}}')]//i[@class='mce-ico mce-i-table']" parameterized="true"/>
123123
<element name="SpecialCharacter" type="button" selector="//div[contains(@id, '{{var1}}')]//i[@class='mce-ico mce-i-charmap']" parameterized="true"/>
124-
<element name="TinyMCE4" type="text" selector="//div[contains(@id, '{{var1}}')]//div[@class='mce-branding']" parameterized="true"/>
124+
<element name="TinyMCE4" type="text" selector="//div[contains(@id, '{{var1}}')]//*[contains(@class,'mce-branding')]" parameterized="true"/>
125125
</section>
126126
<section name="ProductDescriptionWYSIWYGToolbarSection">
127-
<element name="TinyMCE4" type ="button" selector="//div[@id='editorproduct_form_description']//div[@class='mce-branding']" />
127+
<element name="TinyMCE4" type ="button" selector="//div[@id='editorproduct_form_description']//*[contains(@class,'mce-branding')]" />
128128
<element name="showHideBtn" type="button" selector="#toggleproduct_form_description"/>
129129
<element name="InsertImageBtn" type="button" selector="#buttonsproduct_form_description > .scalable.action-add-image.plugin" />
130130
<element name="Style" type="button" selector="//div[@id='editorproduct_form_description']//span[text()='Paragraph']" />
@@ -162,7 +162,7 @@
162162
<element name="confirmDelete" type="button" selector=".action-primary.action-accept" />
163163
</section>
164164
<section name="ProductShortDescriptionWYSIWYGToolbarSection">
165-
<element name="TinyMCE4" type ="button" selector="//div[@id='editorproduct_form_short_description']//div[@class='mce-branding']" />
165+
<element name="TinyMCE4" type ="button" selector="//div[@id='editorproduct_form_short_description']//*[contains(@class,'mce-branding')]" />
166166
<element name="InsertImageBtn" type="button" selector="#buttonsproduct_form_short_description > .scalable.action-add-image.plugin" />
167167
<element name="showHideBtn" type="button" selector="#toggleproduct_form_short_description"/>
168168
<element name="Style" type="button" selector="//div[@id='editorproduct_form_short_description']//span[text()='Paragraph']" />

lib/web/tiny_mce_4/skins/lightgray/skin.min.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/web/tiny_mce_4/skins/lightgray/skin.mobile.min.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)