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 31
31
<waitForElementVisible selector =" {{TinyMCESection.TinyMCE}}" stepKey =" waitForTinyMCE" />
32
32
<seeElement selector =" {{TinyMCESection.ShowHideBtn}}" stepKey =" seeShowHideBtn" />
33
33
<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" />
35
35
<click selector =" {{TinyMCESection.ShowHideBtn}}" stepKey =" clickShowHideBtn" />
36
36
<waitForElementVisible selector =" {{TinyMCESection.InsertImageBtn}}" stepKey =" waitForInsertImage" />
37
37
<seeElement selector =" {{TinyMCESection.InsertImageBtn}}" stepKey =" insertImage" />
Original file line number Diff line number Diff line change 37
37
<waitForElementVisible selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.TinyMCE}}" stepKey =" waitForDescription" />
38
38
<seeElement selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.TinyMCE}}" stepKey =" TinyMCEDescription" />
39
39
<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" />
41
41
<waitForElementVisible selector =" {{ProductShortDescriptionWysiwygSection.form}} {{TinyMCESection.TinyMCE}}" stepKey =" waitForShortDescription" />
42
42
<seeElement selector =" {{ProductShortDescriptionWysiwygSection.form}} {{TinyMCESection.TinyMCE}}" stepKey =" TinyMCEShortDescription" />
43
43
<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" />
45
45
<scrollTo selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.ShowHideBtn}}" y =" -150" x =" 0" stepKey =" scrollToDesShowHideBtn1" />
46
46
<click selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.ShowHideBtn}}" stepKey =" clickShowHideBtn1" />
47
47
<waitForElementVisible selector =" {{ProductDescriptionWysiwygSection.form}} {{TinyMCESection.InsertImageBtn}}" stepKey =" waitForInsertImage1" />
Original file line number Diff line number Diff line change 32
32
<waitForElementVisible selector =" {{TinyMCESection.TinyMCE}}" stepKey =" waitForTinyMCE" />
33
33
<actionGroup ref =" VerifyTinyMCEActionGroup" stepKey =" verifyTinyMCE" />
34
34
<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" />
36
36
<click selector =" {{TinyMCESection.ShowHideBtn}}" stepKey =" clickShowHideBtn1" />
37
37
<waitForElementVisible selector =" {{TinyMCESection.InsertWidgetBtn}}" stepKey =" waitForInsertWidget" />
38
38
<see selector =" {{TinyMCESection.InsertImageBtn}}" userInput =" Insert Image..." stepKey =" assertInf17" />
Original file line number Diff line number Diff line change 32
32
<waitForElementVisible selector =" {{TinyMCESection.TinyMCE}}" stepKey =" waitForTinyMCE" />
33
33
<actionGroup ref =" VerifyTinyMCEActionGroup" stepKey =" verifyTinyMCE" />
34
34
<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" />
36
36
<click selector =" {{TinyMCESection.ShowHideBtn}}" stepKey =" clickShowHideBtn" />
37
37
<waitForElementVisible selector =" {{TinyMCESection.InsertWidgetBtn}}" stepKey =" waitForInsertWidget" />
38
38
<see selector =" {{TinyMCESection.InsertImageBtn}}" userInput =" Insert Image..." stepKey =" assertInf17" />
Original file line number Diff line number Diff line change @@ -171,10 +171,10 @@ require([
171
171
$('preview_type').value = {$ templateType };
172
172
}
173
173
174
- if (typeof tinyMCE == 'undefined' || !tinyMCE .get('template_text')) {
174
+ if (typeof tinyMCE == 'undefined' || !hugerte .get('template_text')) {
175
175
$('preview_text').value = $('template_text').value;
176
176
} else {
177
- $('preview_text').value = tinyMCE .get('template_text').getHTML();
177
+ $('preview_text').value = hugerte .get('template_text').getHTML();
178
178
}
179
179
180
180
if ($('template_styles') != undefined) {
Original file line number Diff line number Diff line change 42
42
<waitForPageLoad time =" 10" stepKey =" waitForPageLoad21" />
43
43
<conditionalClick selector =" #toggletext" dependentSelector =" .tox-hugerte" visible =" false" stepKey =" clickBtnIfTinyMCEHidden" />
44
44
<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" />
46
46
<seeElement selector =" {{TinyMCESection.InsertVariableIcon}}" stepKey =" seeInsertVariableIcon" />
47
47
<click selector =" {{TinyMCESection.InsertVariableIcon}}" stepKey =" clickInsertVariableIcon1" />
48
48
<waitForText userInput =" Insert Variable" stepKey =" waitForSlideOutOpen" />
Original file line number Diff line number Diff line change 33
33
<waitForPageLoad stepKey =" waitForTinyMce" />
34
34
<actionGroup ref =" VerifyTinyMCEActionGroup" stepKey =" verifyTinyMCE" />
35
35
<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" />
37
37
<click selector =" {{TinyMCESection.ShowHideBtn}}" stepKey =" clickShowHideBtn2" />
38
38
<waitForElementVisible selector =" {{TinyMCESection.InsertWidgetBtn}}" stepKey =" waitForInsertWidget" />
39
39
<see selector =" {{TinyMCESection.InsertImageBtn}}" userInput =" Insert Image..." stepKey =" assertInf17" />
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ define([
335
335
* @param {String } id
336
336
*/
337
337
get : function ( id ) {
338
- return tinyMCE . get ( id ) ;
338
+ return hugerte . get ( id ) ;
339
339
} ,
340
340
341
341
/**
You can’t perform that action at this time.
0 commit comments