Skip to content

Commit 1283596

Browse files
committed
MC-3053: Automate MFTF for MC-2294
1 parent d56760f commit 1283596

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
11-
<actionGroup name="useStaticURLForMediaContentInWYSIWYGActionGroup">
11+
<actionGroup name="UseStaticURLForMediaContentInWYSIWYG">
12+
<arguments>
13+
<argument name="value" defaultValue="Yes" type="string"/>
14+
</arguments>
1215
<amOnPage url="{{ConfigurationStoresPage.url}}" stepKey="navigateToWYSIWYGConfigPage1"/>
13-
<waitForPageLoad stepKey="waitForPageLoad"/>
16+
<waitForPageLoad stepKey="waitForPageLoad1"/>
1417
<conditionalClick stepKey="expandWYSIWYGOptions" selector="{{ContentManagementSection.WYSIWYGOptions}}" dependentSelector="{{ContentManagementSection.CheckIfTabExpand}}" visible="true" />
1518
<waitForElementVisible selector="{{ContentManagementSection.EnableWYSIWYG}}" stepKey="waitForEnableWYSIWYGDropdown1" />
16-
<selectOption selector="{{ContentManagementSection.StaticURL}}" userInput="Yes" stepKey="selectOption1"/>
19+
<selectOption selector="{{ContentManagementSection.StaticURL}}" userInput="{{value}}" stepKey="selectOption1"/>
1720
<click selector="{{ContentManagementSection.WYSIWYGOptions}}" stepKey="collapseWYSIWYGOptions" />
1821
<click selector="{{ContentManagementSection.Save}}" stepKey="saveConfig" />
22+
<waitForPageLoad stepKey="waitForPageLoad2" />
1923
</actionGroup>
2024
</actionGroups>

0 commit comments

Comments
 (0)