File tree 2 files changed +20
-4
lines changed
Backend/Test/Mftf/ActionGroup
2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
+ <actionGroup name =" AdminOpenConfigurationStoresPageActionGroup" >
11
+ <annotations >
12
+ <description >Open configuration stores page.</description >
13
+ </annotations >
14
+
15
+ <amOnPage url =" {{ConfigurationStoresPage.url}}" stepKey =" goToConfigurationStoresPage" />
16
+ <waitForPageLoad stepKey =" waitPageLoad" />
17
+ </actionGroup >
18
+ </actionGroups >
Original file line number Diff line number Diff line change 25
25
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginGetFromGeneralFile" />
26
26
<actionGroup ref =" EnabledWYSIWYGActionGroup" stepKey =" enableWYSIWYG" />
27
27
</before >
28
- <amOnPage url =" {{ConfigurationStoresPage.url}}" stepKey =" navigateToWYSIWYGConfigPage1" />
29
- <waitForPageLoad stepKey =" wait1" />
28
+ <actionGroup ref =" AdminOpenConfigurationStoresPageActionGroup" stepKey =" navigateToWYSIWYGConfigPage1" />
30
29
<conditionalClick stepKey =" expandWYSIWYGOptions1" selector =" {{ContentManagementSection.WYSIWYGOptions}}" dependentSelector =" {{ContentManagementSection.CheckIfTabExpand}}" visible =" true" />
31
30
<waitForElementVisible selector =" {{ContentManagementSection.SwitcherSystemValue}}" stepKey =" waitForCheckbox1" />
32
31
<uncheckOption selector =" {{ContentManagementSection.SwitcherSystemValue}}" stepKey =" uncheckUseSystemValue1" />
53
52
<waitForPageLoad stepKey =" wait3" />
54
53
<!-- see widget on Storefront-->
55
54
<see userInput =" Hello TinyMCE4!" stepKey =" seeContent1" />
56
- <amOnPage url =" {{ConfigurationStoresPage.url}}" stepKey =" navigateToWYSIWYGConfigPage2" />
57
- <waitForPageLoad stepKey =" wait4" />
55
+ <actionGroup ref =" AdminOpenConfigurationStoresPageActionGroup" stepKey =" navigateToWYSIWYGConfigPage2" />
58
56
<conditionalClick stepKey =" expandWYSIWYGOptions" selector =" {{ContentManagementSection.WYSIWYGOptions}}" dependentSelector =" {{ContentManagementSection.CheckIfTabExpand}}" visible =" true" />
59
57
<waitForElementVisible selector =" {{ContentManagementSection.SwitcherSystemValue}}" stepKey =" waitForCheckbox2" />
60
58
<uncheckOption selector =" {{ContentManagementSection.SwitcherSystemValue}}" stepKey =" uncheckUseSystemValue2" />
You can’t perform that action at this time.
0 commit comments