File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed
app/code/Magento/NewRelicReporting/Test/Mftf Expand file tree Collapse file tree 3 files changed +23
-2
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
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminExpandNewRelicConfigTabActionGroup" >
12
+ <arguments >
13
+ <argument name =" tabName" type =" string" />
14
+ </arguments >
15
+ <conditionalClick selector =" {{AdminNewRelicConfigSystemSection.tab(tabName)}}" dependentSelector =" {{AdminNewRelicConfigSystemSection.status}}" visible =" false" stepKey =" expandTab" />
16
+ </actionGroup >
17
+ </actionGroups >
Original file line number Diff line number Diff line change 9
9
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
11
<section name =" AdminNewRelicConfigSystemSection" >
12
+ <element name =" tab" type =" button" selector =" #newrelicreporting_{{tab}}-head" parameterized =" true" />
12
13
<element name =" status" type =" select" selector =" #row_newrelicreporting_general_enable [data-ui-id='select-groups-general-fields-enable-value']" />
13
14
<element name =" useSystemValueForEnabled" type =" checkbox" selector =" #newrelicreporting_general_enable_inherit" />
14
15
<element name =" apiUrl" type =" select" selector =" input#newrelicreporting_general_api_url" />
Original file line number Diff line number Diff line change 19
19
</annotations >
20
20
<before >
21
21
<actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
22
- <amOnPage url =" {{AdminNewRelicConfigPage.url}}" stepKey =" navigateToNewRelicConfigurationPage" />
22
+ <actionGroup ref =" AdminNavigateToNewRelicConfigurationActionGroup" stepKey =" goToConfigPage" />
23
+ <actionGroup ref =" AdminExpandNewRelicConfigTabActionGroup" stepKey =" expandGeneralTab" >
24
+ <argument name =" tabName" value =" general" />
25
+ </actionGroup >
23
26
</before >
24
27
<after >
25
28
<actionGroup ref =" logout" stepKey =" logoutOfAdmin" />
26
29
</after >
27
- <actionGroup ref =" AssertAdminDoesntSeeConfigFieldActionGroup " stepKey =" checkIfApiUrlIsNotVisible" >
30
+ <actionGroup ref =" AssertAdminDontSeeConfigFieldActionGroup " stepKey =" checkIfApiUrlIsNotVisible" >
28
31
<argument name =" config" value =" {{AdminNewRelicConfigSystemSection.apiUrl}}" />
29
32
</actionGroup >
30
33
<actionGroup ref =" AdminUnchecksUseSystemValueActionGroup" stepKey =" uncheckUseSystemValue" />
You can’t perform that action at this time.
0 commit comments