Skip to content

Commit 6b6fe78

Browse files
committed
MC-3308: Automate MFTF for MC-1416
1 parent cbe9ddd commit 6b6fe78

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,17 @@
2929
<click selector="{{ContentManagementSection.WYSIWYGOptions}}" stepKey="collapseWYSIWYGOptions" />
3030
<click selector="{{ContentManagementSection.Save}}" stepKey="saveConfig" />
3131
</actionGroup>
32+
<actionGroup name="UseStaticURLForMediaContentInWYSIWYG">
33+
<arguments>
34+
<argument name="value" defaultValue="Yes" type="string"/>
35+
</arguments>
36+
<amOnPage url="{{ConfigurationStoresPage.url}}" stepKey="navigateToWYSIWYGConfigPage1"/>
37+
<waitForPageLoad stepKey="waitForPageLoad1"/>
38+
<conditionalClick stepKey="expandWYSIWYGOptions" selector="{{ContentManagementSection.WYSIWYGOptions}}" dependentSelector="{{ContentManagementSection.CheckIfTabExpand}}" visible="true" />
39+
<waitForElementVisible selector="{{ContentManagementSection.EnableWYSIWYG}}" stepKey="waitForEnableWYSIWYGDropdown1" />
40+
<selectOption selector="{{ContentManagementSection.StaticURL}}" userInput="{{value}}" stepKey="selectOption1"/>
41+
<click selector="{{ContentManagementSection.WYSIWYGOptions}}" stepKey="collapseWYSIWYGOptions" />
42+
<click selector="{{ContentManagementSection.Save}}" stepKey="saveConfig" />
43+
<waitForPageLoad stepKey="waitForPageLoad2" />
44+
</actionGroup>
3245
</actionGroups>

0 commit comments

Comments
 (0)