File tree Expand file tree Collapse file tree 8 files changed +10
-10
lines changed
Email/view/adminhtml/templates/template
Newsletter/Test/Mftf/Test
lib/web/mage/adminhtml/wysiwyg/tiny_mce Expand file tree Collapse file tree 8 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 3131 <waitForElementVisible selector =" {{TinyMCESection.TinyMCE}}" stepKey =" waitForTinyMCE" />
3232 <seeElement selector =" {{TinyMCESection.ShowHideBtn}}" stepKey =" seeShowHideBtn" />
3333 <actionGroup ref =" VerifyTinyMCEActionGroup" stepKey =" verifyTinyMCE" />
34- <executeJS function =" tinyMCE .get('category_form_description').setContent('Hello World!');" stepKey =" executeJSFillContent" />
34+ <executeJS function =" hugerte .get('category_form_description').setContent('Hello World!');" stepKey =" executeJSFillContent" />
3535 <click selector =" {{TinyMCESection.ShowHideBtn}}" stepKey =" clickShowHideBtn" />
3636 <waitForElementVisible selector =" {{TinyMCESection.InsertImageBtn}}" stepKey =" waitForInsertImage" />
3737 <seeElement selector =" {{TinyMCESection.InsertImageBtn}}" stepKey =" insertImage" />
Original file line number Diff line number Diff line change 3737 <waitForElementVisible selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.TinyMCE}}" stepKey =" waitForDescription" />
3838 <seeElement selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.TinyMCE}}" stepKey =" TinyMCEDescription" />
3939 <click selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.EditArea}}" stepKey =" focusProductDescriptionWysiwyg" />
40- <executeJS function =" tinyMCE .get('product_form_description').setContent('Hello World!');" stepKey =" executeJSFillContent1" />
40+ <executeJS function =" hugerte .get('product_form_description').setContent('Hello World!');" stepKey =" executeJSFillContent1" />
4141 <waitForElementVisible selector =" {{ProductShortDescriptionWysiwygSection.form}} {{TinyMCESection.TinyMCE}}" stepKey =" waitForShortDescription" />
4242 <seeElement selector =" {{ProductShortDescriptionWysiwygSection.form}} {{TinyMCESection.TinyMCE}}" stepKey =" TinyMCEShortDescription" />
4343 <click selector =" {{ProductShortDescriptionWysiwygSection.form}} {{TinyMCESection.EditArea}}" stepKey =" focusProductShortDescriptionWysiwyg" />
44- <executeJS function =" tinyMCE .get('product_form_short_description').setContent('Hello World! Short Content');" stepKey =" executeJSFillContent2" />
44+ <executeJS function =" hugerte .get('product_form_short_description').setContent('Hello World! Short Content');" stepKey =" executeJSFillContent2" />
4545 <scrollTo selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.ShowHideBtn}}" y =" -150" x =" 0" stepKey =" scrollToDesShowHideBtn1" />
4646 <click selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.ShowHideBtn}}" stepKey =" clickShowHideBtn1" />
4747 <waitForElementVisible selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.InsertImageBtn}}" stepKey =" waitForInsertImage1" />
Original file line number Diff line number Diff line change 3232 <waitForElementVisible selector =" {{TinyMCESection.TinyMCE}}" stepKey =" waitForTinyMCE" />
3333 <actionGroup ref =" VerifyTinyMCEActionGroup" stepKey =" verifyTinyMCE" />
3434 <actionGroup ref =" VerifyMagentoEntityActionGroup" stepKey =" verifyMagentoEntities" />
35- <executeJS function =" tinyMCE .get('cms_block_form_content').setContent('Hello Block Page!');" stepKey =" executeJSFillContent" />
35+ <executeJS function =" hugerte .get('cms_block_form_content').setContent('Hello Block Page!');" stepKey =" executeJSFillContent" />
3636 <click selector =" {{TinyMCESection.ShowHideBtn}}" stepKey =" clickShowHideBtn1" />
3737 <waitForElementVisible selector =" {{TinyMCESection.InsertWidgetBtn}}" stepKey =" waitForInsertWidget" />
3838 <see selector =" {{TinyMCESection.InsertImageBtn}}" userInput =" Insert Image..." stepKey =" assertInf17" />
Original file line number Diff line number Diff line change 3232 <waitForElementVisible selector =" {{TinyMCESection.TinyMCE}}" stepKey =" waitForTinyMCE" />
3333 <actionGroup ref =" VerifyTinyMCEActionGroup" stepKey =" verifyTinyMCE" />
3434 <actionGroup ref =" VerifyMagentoEntityActionGroup" stepKey =" verifyMagentoEntities" />
35- <executeJS function =" tinyMCE .get('cms_page_form_content').setContent('Hello World!');" stepKey =" executeJSFillContent" />
35+ <executeJS function =" hugerte .get('cms_page_form_content').setContent('Hello World!');" stepKey =" executeJSFillContent" />
3636 <click selector =" {{TinyMCESection.ShowHideBtn}}" stepKey =" clickShowHideBtn" />
3737 <waitForElementVisible selector =" {{TinyMCESection.InsertWidgetBtn}}" stepKey =" waitForInsertWidget" />
3838 <see selector =" {{TinyMCESection.InsertImageBtn}}" userInput =" Insert Image..." stepKey =" assertInf17" />
Original file line number Diff line number Diff line change @@ -171,10 +171,10 @@ require([
171171 $('preview_type').value = {$ templateType };
172172 }
173173
174- if (typeof tinyMCE == 'undefined' || !tinyMCE .get('template_text')) {
174+ if (typeof tinyMCE == 'undefined' || !hugerte .get('template_text')) {
175175 $('preview_text').value = $('template_text').value;
176176 } else {
177- $('preview_text').value = tinyMCE .get('template_text').getHTML();
177+ $('preview_text').value = hugerte .get('template_text').getHTML();
178178 }
179179
180180 if ($('template_styles') != undefined) {
Original file line number Diff line number Diff line change 4242 <waitForPageLoad time =" 10" stepKey =" waitForPageLoad21" />
4343 <conditionalClick selector =" #toggletext" dependentSelector =" .tox-hugerte" visible =" false" stepKey =" clickBtnIfTinyMCEHidden" />
4444 <waitForElementVisible selector =" {{TinyMCESection.TinyMCE}}" stepKey =" waitForTinyMCE" />
45- <executeJS function =" tinyMCE .get('text').setContent('Hello World From Newsletter Template!');" stepKey =" executeJSFillContent" />
45+ <executeJS function =" hugerte .get('text').setContent('Hello World From Newsletter Template!');" stepKey =" executeJSFillContent" />
4646 <seeElement selector =" {{TinyMCESection.InsertVariableIcon}}" stepKey =" seeInsertVariableIcon" />
4747 <click selector =" {{TinyMCESection.InsertVariableIcon}}" stepKey =" clickInsertVariableIcon1" />
4848 <waitForText userInput =" Insert Variable" stepKey =" waitForSlideOutOpen" />
Original file line number Diff line number Diff line change 3333 <waitForPageLoad stepKey =" waitForTinyMce" />
3434 <actionGroup ref =" VerifyTinyMCEActionGroup" stepKey =" verifyTinyMCE" />
3535 <actionGroup ref =" VerifyMagentoEntityActionGroup" stepKey =" verifyMagentoEntities" />
36- <executeJS function =" tinyMCE .get('text').setContent('Hello World From Newsletter Template!');" stepKey =" executeJSFillContent" />
36+ <executeJS function =" hugerte .get('text').setContent('Hello World From Newsletter Template!');" stepKey =" executeJSFillContent" />
3737 <click selector =" {{TinyMCESection.ShowHideBtn}}" stepKey =" clickShowHideBtn2" />
3838 <waitForElementVisible selector =" {{TinyMCESection.InsertWidgetBtn}}" stepKey =" waitForInsertWidget" />
3939 <see selector =" {{TinyMCESection.InsertImageBtn}}" userInput =" Insert Image..." stepKey =" assertInf17" />
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ define([
335335 * @param {String } id
336336 */
337337 get : function ( id ) {
338- return tinyMCE . get ( id ) ;
338+ return hugerte . get ( id ) ;
339339 } ,
340340
341341 /**
You can’t perform that action at this time.
0 commit comments