File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Banner/Test Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 78
78
</actionGroup >
79
79
<seeElement selector =" {{TinyMCESection.TinyMCE4}}" stepKey =" seeTinyMCE4Visible" />
80
80
<!-- Missing step of asserting PageBuilder text convert to TinyMCE4 (blocked by current testing framework - unable to grab text from TinyMCE4)-->
81
- <executeJS function =" var div = document.createElement('div'); div.innerHTML = tinymce.activeEditor.getContent(); div.innerText.trim();" stepKey =" textFromPageBuilder" />
81
+ <executeJS function =" return (function() { var div = document.createElement('div'); div.innerHTML = tinymce.activeEditor.getContent(); return div.innerText.trim();}()) " stepKey =" textFromPageBuilder" />
82
82
<assertEquals stepKey =" assertEquals1" message =" pass" >
83
83
<expectedResult type =" string" >Hello Dynamic Block from PageBuilder</expectedResult >
84
84
<actualResult type =" variable" >textFromPageBuilder</actualResult >
You can’t perform that action at this time.
0 commit comments