File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Config/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 20
20
</annotations >
21
21
<before >
22
22
<actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
23
- <actionGroup ref = " EnabledWYSIWYG " stepKey =" enableWYSIWYG" />
23
+ <magentoCLI command = " config:set cms/wysiwyg/enabled enabled " stepKey =" enableWYSIWYG" />
24
24
<!-- Choose TinyMCE3 as the default WYSIWYG editor-->
25
- <actionGroup ref =" SwitchToTinyMCE3" stepKey =" switchToTinyMCE3" />
25
+ <!-- <actionGroup ref="SwitchToTinyMCE3" stepKey="switchToTinyMCE3"/>-->
26
+ <magentoCLI command =" config:set cms/wysiwyg/editor Magento_Tinymce3/tinymce3Adapter" stepKey =" enableTinyMCE3" />
26
27
</before >
27
28
<after >
28
29
<!-- Switch WYSIWYG editor to TinyMCE4-->
29
30
<comment userInput =" Reset editor as TinyMCE4" stepKey =" chooseTinyMCE4AsEditor" />
30
- <actionGroup ref =" SwitchToVersion4ActionGroup" stepKey =" switchToTinyMCE4" />
31
+ <!-- <actionGroup ref="SwitchToVersion4ActionGroup" stepKey="switchToTinyMCE4"/>-->
32
+ <magentoCLI command =" config:set cms/wysiwyg/editor mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter" stepKey =" enableTinyMCE4" />
31
33
<actionGroup ref =" logout" stepKey =" logout" />
32
34
</after >
33
35
<amOnPage url =" {{CmsNewPagePage.url}}" stepKey =" navigateToPage2" />
36
38
<click selector =" {{CmsNewPagePageContentSection.header}}" stepKey =" clickContentTab2" />
37
39
<waitForElementVisible selector =" {{TinyMCESection.TinyMCE3}}" stepKey =" waitForTinyMCE3" />
38
40
<seeElement selector =" {{TinyMCESection.TinyMCE3}}" stepKey =" seeTinyMCE3" />
41
+ <wait time =" 3" stepKey =" waiting" />
39
42
<comment userInput =" Click Insert image button" stepKey =" clickImageButton" />
40
43
<click selector =" {{TinyMCESection.InsertImageBtnTinyMCE3}}" stepKey =" clickInsertImage" />
41
44
<waitForPageLoad stepKey =" waitForiFrameToLoad" />
Original file line number Diff line number Diff line change 28
28
<selectOption selector =" {{ContentManagementSection.Switcher}}" userInput =" TinyMCE 3" stepKey =" switchToVersion3" />
29
29
<click selector =" {{ContentManagementSection.WYSIWYGOptions}}" stepKey =" collapseWYSIWYGOptions" />
30
30
<click selector =" {{ContentManagementSection.Save}}" stepKey =" saveConfig" />
31
+ <see selector =" {{AdminMessagesSection.success}}" userInput =" You saved the configuration." stepKey =" seeConfigurationSuccessMessage" />
31
32
</actionGroup >
32
33
<actionGroup name =" DisabledWYSIWYG" >
33
34
<amOnPage url =" {{ConfigurationStoresPage.url}}" stepKey =" navigateToConfigurationPage" />
You can’t perform that action at this time.
0 commit comments