File tree 4 files changed +34
-4
lines changed
AdminConfigurationStoresPage
4 files changed +34
-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 =" {{AdminConfigurationStoresPage.url}}" stepKey =" goToConfigurationStoresPage" />
16
+ <waitForPageLoad stepKey =" waitPageLoad" />
17
+ </actionGroup >
18
+ </actionGroups >
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
+ <pages xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi:noNamespaceSchemaLocation=" urn:magento:mftf:Page/etc/PageObject.xsd" >
10
+ <page name =" AdminConfigurationStoresPage" url =" admin/system_config/edit/section/cms/" area =" admin" module =" Catalog" >
11
+ <section name =" WYSIWYGOptionsSection" />
12
+ </page >
13
+ </pages >
Original file line number Diff line number Diff line change 7
7
-->
8
8
<pages xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi:noNamespaceSchemaLocation=" urn:magento:mftf:Page/etc/PageObject.xsd" >
10
+ <!-- @deprecated New Page was introduced. Please use "AdminConfigurationStoresPage" -->
10
11
<page name =" ConfigurationStoresPage" url =" admin/system_config/edit/section/cms/" area =" admin" module =" Catalog" >
11
12
<section name =" WYSIWYGOptionsSection" />
12
13
</page >
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" />
52
51
<waitForPageLoad stepKey =" wait3" />
53
52
<!-- see widget on Storefront-->
54
53
<see userInput =" Hello TinyMCE4!" stepKey =" seeContent1" />
55
- <amOnPage url =" {{ConfigurationStoresPage.url}}" stepKey =" navigateToWYSIWYGConfigPage2" />
56
- <waitForPageLoad stepKey =" wait4" />
54
+ <actionGroup ref =" AdminOpenConfigurationStoresPageActionGroup" stepKey =" navigateToWYSIWYGConfigPage2" />
57
55
<conditionalClick stepKey =" expandWYSIWYGOptions" selector =" {{ContentManagementSection.WYSIWYGOptions}}" dependentSelector =" {{ContentManagementSection.CheckIfTabExpand}}" visible =" true" />
58
56
<waitForElementVisible selector =" {{ContentManagementSection.SwitcherSystemValue}}" stepKey =" waitForCheckbox2" />
59
57
<uncheckOption selector =" {{ContentManagementSection.SwitcherSystemValue}}" stepKey =" uncheckUseSystemValue2" />
You can’t perform that action at this time.
0 commit comments