File tree 8 files changed +60
-14
lines changed
app/code/Magento/Analytics/Test/Mftf
8 files changed +60
-14
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 =" AdminConfigGeneralAnalyticsPageOpenActionGroup" >
12
+ <annotations >
13
+ <description >Open Config General Analytics Page.</description >
14
+ </annotations >
15
+
16
+ <amOnPage url =" {{AdminConfigGeneralAnalyticsPage.url}}" stepKey =" amOnAdminConfig" />
17
+ <waitForPageLoad stepKey =" waitPageLoad" />
18
+ </actionGroup >
19
+ </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
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AssertAdminAdvancedReportingPageUrlActionGroup" >
12
+ <annotations >
13
+ <description >Assert admin advanced reporting page url.</description >
14
+ </annotations >
15
+
16
+ <switchToNextTab stepKey =" switchToNewTab" />
17
+ <waitForPageLoad stepKey =" waitForAdvancedReportingPageLoad" />
18
+ <seeInCurrentUrl url =" advancedreporting.rjmetrics.com/report" stepKey =" seeAssertAdvancedReportingPageUrl" />
19
+ </actionGroup >
20
+ </actionGroups >
Original file line number Diff line number Diff line change 32
32
<amOnPage url =" {{AdminDashboardPage.url}}" stepKey =" amOnDashboardPage" />
33
33
<waitForPageLoad stepKey =" waitForDashboardPageLoad" />
34
34
<click selector =" {{AdminAdvancedReportingSection.goToAdvancedReporting}}" stepKey =" clickGoToAdvancedReporting" />
35
- <switchToNextTab stepKey =" switchToNewTab" />
36
- <seeInCurrentUrl url =" advancedreporting.rjmetrics.com/report" stepKey =" seeAssertAdvancedReportingPageUrl" />
35
+ <actionGroup ref =" AssertAdminAdvancedReportingPageUrlActionGroup" stepKey =" assertAdvancedReportingPageUrl" />
37
36
</test >
38
37
</tests >
Original file line number Diff line number Diff line change 29
29
<argument name =" menuUiId" value =" {{AdminMenuReports.dataUiId}}" />
30
30
<argument name =" submenuUiId" value =" {{AdminMenuReportsBusinessIntelligenceAdvancedReporting.dataUiId}}" />
31
31
</actionGroup >
32
- <switchToNextTab stepKey =" switchToNewTab" />
33
- <waitForPageLoad stepKey =" waitForAdvancedReportingPageLoad" />
34
- <seeInCurrentUrl url =" advancedreporting.rjmetrics.com/report" stepKey =" seeAssertAdvancedReportingPageUrl" />
32
+ <actionGroup ref =" AssertAdminAdvancedReportingPageUrlActionGroup" stepKey =" assertAdvancedReportingPageUrl" />
35
33
</test >
36
34
</tests >
Original file line number Diff line number Diff line change 17
17
<testCaseId value =" MAGETWO-63981" />
18
18
<group value =" analytics" />
19
19
</annotations >
20
+ <before >
21
+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
22
+ </before >
20
23
<after >
21
24
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutOfAdmin" />
22
25
</after >
23
- <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
24
- <amOnPage url =" {{AdminConfigGeneralAnalyticsPage.url}}" stepKey =" amOnAdminConfig" />
26
+ <actionGroup ref =" AdminConfigGeneralAnalyticsPageOpenActionGroup" stepKey =" amOnAdminConfig" />
25
27
<selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingService}}" userInput =" Enable" stepKey =" selectAdvancedReportingServiceEnabled" />
26
28
<see selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustryLabel}}" userInput =" Industry" stepKey =" seeAdvancedReportingIndustryLabel" />
27
29
<selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustry}}" userInput =" --Please Select--" stepKey =" selectAdvancedReportingIndustry" />
Original file line number Diff line number Diff line change 17
17
<testCaseId value =" MAGETWO-66465" />
18
18
<group value =" analytics" />
19
19
</annotations >
20
+ <before >
21
+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
22
+ </before >
20
23
<after >
21
24
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutOfAdmin" />
22
25
</after >
23
- <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
24
- <amOnPage url =" {{AdminConfigGeneralAnalyticsPage.url}}" stepKey =" amOnAdminConfig" />
26
+ <actionGroup ref =" AdminConfigGeneralAnalyticsPageOpenActionGroup" stepKey =" amOnAdminConfig" />
25
27
<see selector =" {{AdminConfigAdvancedReportingSection.advancedReportingServiceLabel}}" userInput =" Advanced Reporting Service" stepKey =" seeAdvancedReportingServiceLabelEnabled" />
26
28
<selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingService}}" userInput =" Enable" stepKey =" selectAdvancedReportingServiceEnabled" />
27
29
<see selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustryLabel}}" userInput =" Industry" stepKey =" seeAdvancedReportingIndustryLabel" />
Original file line number Diff line number Diff line change 18
18
<testCaseId value =" MAGETWO-63898" />
19
19
<group value =" analytics" />
20
20
</annotations >
21
-
22
- <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
23
- <amOnPage url =" {{AdminConfigGeneralAnalyticsPage.url}}" stepKey =" amOnAdminConfig" />
21
+ <before >
22
+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
23
+ </before >
24
+ <after >
25
+ <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutOfAdmin" />
26
+ </after >
27
+ <actionGroup ref =" AdminConfigGeneralAnalyticsPageOpenActionGroup" stepKey =" amOnAdminConfig" />
24
28
<selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingService}}" userInput =" Enable" stepKey =" selectAdvancedReportingServiceEnabled" />
25
29
<see selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustryLabel}}" userInput =" Industry" stepKey =" seeAdvancedReportingIndustryLabel" />
26
30
<selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustry}}" userInput =" Apps and Games" stepKey =" selectAdvancedReportingIndustry" />
Original file line number Diff line number Diff line change 18
18
<testCaseId value =" MAGETWO-66464" />
19
19
<group value =" analytics" />
20
20
</annotations >
21
+ <before >
22
+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
23
+ </before >
21
24
<after >
22
25
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutOfAdmin" />
23
26
</after >
24
- <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
25
- <amOnPage url =" {{AdminConfigGeneralAnalyticsPage.url}}" stepKey =" amOnAdminConfig" />
27
+ <actionGroup ref =" AdminConfigGeneralAnalyticsPageOpenActionGroup" stepKey =" amOnAdminConfig" />
26
28
<selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingService}}" userInput =" Enable" stepKey =" selectAdvancedReportingServiceEnabled" />
27
29
<selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustry}}" userInput =" Apps and Games" stepKey =" selectAdvancedReportingIndustry" />
28
30
<selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingHour}}" userInput =" 23" stepKey =" selectAdvancedReportingHour" />
You can’t perform that action at this time.
0 commit comments