File tree Expand file tree Collapse file tree 8 files changed +60
-14
lines changed
app/code/Magento/Analytics/Test/Mftf Expand file tree Collapse file tree 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 =" AdminOpenConfigGeneralAnalyticsPageActionGroup" >
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 3232 <amOnPage url =" {{AdminDashboardPage.url}}" stepKey =" amOnDashboardPage" />
3333 <waitForPageLoad stepKey =" waitForDashboardPageLoad" />
3434 <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" />
3736 </test >
3837</tests >
Original file line number Diff line number Diff line change 2929 <argument name =" menuUiId" value =" {{AdminMenuReports.dataUiId}}" />
3030 <argument name =" submenuUiId" value =" {{AdminMenuReportsBusinessIntelligenceAdvancedReporting.dataUiId}}" />
3131 </actionGroup >
32- <switchToNextTab stepKey =" switchToNewTab" />
33- <waitForPageLoad stepKey =" waitForAdvancedReportingPageLoad" />
34- <seeInCurrentUrl url =" advancedreporting.rjmetrics.com/report" stepKey =" seeAssertAdvancedReportingPageUrl" />
32+ <actionGroup ref =" AssertAdminAdvancedReportingPageUrlActionGroup" stepKey =" assertAdvancedReportingPageUrl" />
3533 </test >
3634</tests >
Original file line number Diff line number Diff line change 1717 <testCaseId value =" MAGETWO-63981" />
1818 <group value =" analytics" />
1919 </annotations >
20+ <before >
21+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
22+ </before >
2023 <after >
2124 <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutOfAdmin" />
2225 </after >
23- <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
24- <amOnPage url =" {{AdminConfigGeneralAnalyticsPage.url}}" stepKey =" amOnAdminConfig" />
26+ <actionGroup ref =" AdminOpenConfigGeneralAnalyticsPageActionGroup" stepKey =" amOnAdminConfig" />
2527 <selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingService}}" userInput =" Enable" stepKey =" selectAdvancedReportingServiceEnabled" />
2628 <see selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustryLabel}}" userInput =" Industry" stepKey =" seeAdvancedReportingIndustryLabel" />
2729 <selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustry}}" userInput =" --Please Select--" stepKey =" selectAdvancedReportingIndustry" />
Original file line number Diff line number Diff line change 1717 <testCaseId value =" MAGETWO-66465" />
1818 <group value =" analytics" />
1919 </annotations >
20+ <before >
21+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
22+ </before >
2023 <after >
2124 <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutOfAdmin" />
2225 </after >
23- <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
24- <amOnPage url =" {{AdminConfigGeneralAnalyticsPage.url}}" stepKey =" amOnAdminConfig" />
26+ <actionGroup ref =" AdminOpenConfigGeneralAnalyticsPageActionGroup" stepKey =" amOnAdminConfig" />
2527 <see selector =" {{AdminConfigAdvancedReportingSection.advancedReportingServiceLabel}}" userInput =" Advanced Reporting Service" stepKey =" seeAdvancedReportingServiceLabelEnabled" />
2628 <selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingService}}" userInput =" Enable" stepKey =" selectAdvancedReportingServiceEnabled" />
2729 <see selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustryLabel}}" userInput =" Industry" stepKey =" seeAdvancedReportingIndustryLabel" />
Original file line number Diff line number Diff line change 1818 <testCaseId value =" MAGETWO-63898" />
1919 <group value =" analytics" />
2020 </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 =" AdminOpenConfigGeneralAnalyticsPageActionGroup" stepKey =" amOnAdminConfig" />
2428 <selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingService}}" userInput =" Enable" stepKey =" selectAdvancedReportingServiceEnabled" />
2529 <see selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustryLabel}}" userInput =" Industry" stepKey =" seeAdvancedReportingIndustryLabel" />
2630 <selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustry}}" userInput =" Apps and Games" stepKey =" selectAdvancedReportingIndustry" />
Original file line number Diff line number Diff line change 1818 <testCaseId value =" MAGETWO-66464" />
1919 <group value =" analytics" />
2020 </annotations >
21+ <before >
22+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
23+ </before >
2124 <after >
2225 <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutOfAdmin" />
2326 </after >
24- <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
25- <amOnPage url =" {{AdminConfigGeneralAnalyticsPage.url}}" stepKey =" amOnAdminConfig" />
27+ <actionGroup ref =" AdminOpenConfigGeneralAnalyticsPageActionGroup" stepKey =" amOnAdminConfig" />
2628 <selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingService}}" userInput =" Enable" stepKey =" selectAdvancedReportingServiceEnabled" />
2729 <selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingIndustry}}" userInput =" Apps and Games" stepKey =" selectAdvancedReportingIndustry" />
2830 <selectOption selector =" {{AdminConfigAdvancedReportingSection.advancedReportingHour}}" userInput =" 23" stepKey =" selectAdvancedReportingHour" />
You can’t perform that action at this time.
0 commit comments