Skip to content

Commit dd50165

Browse files
committed
MC-4137: TinyMCE Issues within inline WYSIWYG
- Update test selector
1 parent 1b7abcc commit dd50165

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</section>
5050
<section name="CatalogWYSIWYGSection">
5151
<element name="ShowHideBtn" type="button" selector="#togglecategory_form_description"/>
52-
<element name="TinyMCE4" type="text" selector=".mce-branding-powered-by"/>
52+
<element name="TinyMCE4" type="text" selector=".mce-branding"/>
5353
<element name="Style" type="button" selector=".mce-txt" />
5454
<element name="Bold" type="button" selector=".mce-i-bold" />
5555
<element name="Italic" type="button" selector=".mce-i-italic" />

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-powered-by']"/>
23+
<element name="TinyMCE4" type="button" selector="//span[text()='Default Value']/parent::label/following-sibling::div//div[@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-powered-by']" parameterized="true"/>
124+
<element name="TinyMCE4" type="text" selector="//div[contains(@id, '{{var1}}')]//div[@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-powered-by']" />
127+
<element name="TinyMCE4" type ="button" selector="//div[@id='editorproduct_form_description']//div[@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-powered-by']" />
165+
<element name="TinyMCE4" type ="button" selector="//div[@id='editorproduct_form_short_description']//div[@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']" />

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<section name="TinyMCESection">
1212
<element name="checkIfContentTabOpen" type="button" selector="//span[text()='Content']/parent::strong/parent::*[@data-state-collapsible='closed']"/>
1313
<element name="CheckIfTabExpand" type="button" selector="//div[@data-state-collapsible='closed']//span[text()='Content']"/>
14-
<element name="TinyMCE4" type="text" selector=".mce-branding-powered-by" />
14+
<element name="TinyMCE4" type="text" selector=".mce-branding" />
1515
<element name="InsertWidgetBtn" type="button" selector=".action-add-widget"/>
1616
<element name="InsertWidgetIcon" type="button" selector="div[aria-label='Insert Widget']"/>
1717
<element name="InsertVariableBtn" type="button" selector=".scalable.add-variable.plugin"/>

app/code/Magento/Newsletter/Test/Mftf/Section/NewsletterTemplateSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</section>
1919
<section name="NewsletterWYSIWYGSection">
2020
<element name="TextArea" type="text" selector="#text" />
21-
<element name="TinyMCE4" type="text" selector=".mce-branding-powered-by" />
21+
<element name="TinyMCE4" type="text" selector=".mce-branding" />
2222
<element name="ShowHideBtn" type="button" selector="#toggletext" timeout="60"/>
2323
<element name="InsertWidgetBtn" type="button" selector=".action-add-widget"/>
2424
<element name="InsertWidgetIcon" type="button" selector="div[aria-label='Insert Widget']"/>

0 commit comments

Comments
 (0)