Skip to content

Commit 7ca8b43

Browse files
committed
MAGETWO-95532: Unable to upload image from TinyMCE3
- added step to check if config tab for wysiwyg is opened
1 parent 8eb3aed commit 7ca8b43

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Cms/Test/Mftf/Test/AdminAddImageToCMSPageTinyMCE3Test.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<testCaseId value="MAGETWO-95725"/>
2020
</annotations>
2121
<before>
22-
<actionGroup ref="LoginActionGroup" stepKey="loginGetFromGeneralFile"/>
22+
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
2323
<actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
2424
<!-- Choose TinyMCE3 as the default WYSIWYG editor-->
2525
<actionGroup ref="SwitchToTinyMCE3" stepKey="switchToTinyMCE3"/>

app/code/Magento/Config/Test/Mftf/ActionGroup/ConfigWYSIWYGActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
</actionGroup>
2222
<actionGroup name="SwitchToTinyMCE3">
2323
<comment userInput="Choose TinyMCE3 as the default editor" stepKey="chooseTinyMCE3AsEditor"/>
24+
<conditionalClick stepKey="expandWYSIWYGOptions1" selector="{{ContentManagementSection.WYSIWYGOptions}}" dependentSelector="{{ContentManagementSection.CheckIfTabExpand}}" visible="true" />
2425
<waitForElementVisible selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="waitForCheckbox2" />
2526
<uncheckOption selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="uncheckUseSystemValue2"/>
2627
<waitForElementVisible selector="{{ContentManagementSection.Switcher}}" stepKey="waitForSwitcherDropdown2" />

0 commit comments

Comments
 (0)