|
6 | 6 | */
|
7 | 7 | -->
|
8 | 8 |
|
9 |
| -<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
10 |
| - xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd"> |
11 |
| - <test name="EnableDisableAdvancedReporting"> |
12 |
| - <annotations> |
13 |
| - <features value="Analytics"/> |
14 |
| - <stories value="Enable/disable Advanced Reporting"/> |
15 |
| - <title value="Enable Disable Advanced Reporting"/> |
16 |
| - <description value="An admin user can enable/disable Advanced Reporting."/> |
17 |
| - <severity value="NORMAL"/> |
18 |
| - <testCaseId value="MAGETWO-66465"/> |
19 |
| - <group value="analytics"/> |
20 |
| - </annotations> |
21 |
| - <after> |
22 |
| - <amOnPage stepKey="amOnLogoutPage" url="admin/admin/auth/logout/"/> |
23 |
| - </after> |
24 |
| - <actionGroup ref="LoginActionGroup" stepKey="loginAsAdmin"/> |
25 |
| - <!--Goto admin stores configure page --> |
26 |
| - <amOnPage stepKey="amOnAdminConfig" url="{{AdminConfigPage.url}}"/> |
27 |
| - <!--Enable Advanced Reporting--> |
28 |
| - <click stepKey="clickAdvancedReportingConfigMenu" selector="{{AdminConfigSection.advancedReportingMenuItem}}"/> |
29 |
| - <see stepKey="seeAdvancedReportingServiceLabel" selector="{{AdminConfigSection.advancedReportingServiceLabel}}" userInput="Advanced Reporting Service"/> |
30 |
| - <selectOption stepKey="selectAdvancedReportingService" selector="{{AdminConfigSection.advancedReportingService}}" userInput="Enable"/> |
31 |
| - <see stepKey="seeAdvancedReportingIndustryLabel" selector="{{AdminConfigSection.advancedReportingIndustryLabel}}" userInput="Industry"/> |
32 |
| - <selectOption stepKey="selectAdvancedReportingIndustry" selector="{{AdminConfigSection.advancedReportingIndustry}}" userInput="Apps and Games"/> |
33 |
| - <click stepKey="clickSaveConfigButton" selector="{{AdminConfigSection.saveButton}}"/> |
34 |
| - <see stepKey="seeSaveConfigurationMessage" selector="{{AdminConfigSection.advancedReportingSuccessMessage}}" userInput="You saved the configuration."/> |
35 |
| - <see stepKey="seeAdvancedReportingService" selector="{{AdminConfigSection.advancedReportingService}}" userInput="Enable"/> |
36 |
| - <see stepKey="seeAdvancedReportingServiceStatus" selector="{{AdminConfigSection.advancedReportingServiceStatus}}" userInput="Subscription status: Pending"/> |
37 |
| - <!--Disable Advanced Reporting--> |
38 |
| - <see stepKey="seeAdvancedReportingServiceLabel" selector="{{AdminConfigSection.advancedReportingServiceLabel}}" userInput="Advanced Reporting Service"/> |
39 |
| - <selectOption stepKey="selectAdvancedReportingService" selector="{{AdminConfigSection.advancedReportingService}}" userInput="Disable"/> |
40 |
| - <click stepKey="clickSaveConfigButton" selector="{{AdminConfigSection.saveButton}}"/> |
41 |
| - <see stepKey="seeSaveConfigurationMessage" selector="{{AdminConfigSection.advancedReportingSuccessMessage}}" userInput="You saved the configuration."/> |
42 |
| - <see stepKey="seeAdvancedReportingService" selector="{{AdminConfigSection.advancedReportingService}}" userInput="Disable"/> |
43 |
| - <see stepKey="seeAdvancedReportingServiceStatus" selector="{{AdminConfigSection.advancedReportingServiceStatus}}" userInput="Subscription status: Disabled"/> |
44 |
| - |
45 |
| - </test> |
| 9 | +<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd"> |
| 10 | + <test name="EnableDisableAdvancedReporting"> |
| 11 | + <annotations> |
| 12 | + <features value="Analytics"/> |
| 13 | + <stories value="Enable/disable Advanced Reporting"/> |
| 14 | + <title value="Enable Disable Advanced Reporting"/> |
| 15 | + <description value="An admin user can enable/disable Advanced Reporting."/> |
| 16 | + <severity value="NORMAL"/> |
| 17 | + <testCaseId value="MAGETWO-66465"/> |
| 18 | + <group value="analytics"/> |
| 19 | + </annotations> |
| 20 | + <after> |
| 21 | + <amOnPage stepKey="amOnLogoutPage" url="admin/admin/auth/logout/"/> |
| 22 | + </after> |
| 23 | + <actionGroup ref="LoginActionGroup" stepKey="loginAsAdmin"/> |
| 24 | + <!--Goto admin stores configure page --> |
| 25 | + <amOnPage stepKey="amOnAdminConfig" url="{{AdminConfigPage.url}}"/> |
| 26 | + <!--Enable Advanced Reporting--> |
| 27 | + <click stepKey="clickAdvancedReportingConfigMenu" selector="{{AdminConfigSection.advancedReportingMenuItem}}"/> |
| 28 | + <see stepKey="seeAdvancedReportingServiceLabelEnabled" selector="{{AdminConfigSection.advancedReportingServiceLabel}}" userInput="Advanced Reporting Service"/> |
| 29 | + <selectOption stepKey="selectAdvancedReportingServiceEnabled" selector="{{AdminConfigSection.advancedReportingService}}" userInput="Enable"/> |
| 30 | + <see stepKey="seeAdvancedReportingIndustryLabel" selector="{{AdminConfigSection.advancedReportingIndustryLabel}}" userInput="Industry"/> |
| 31 | + <selectOption stepKey="selectAdvancedReportingIndustry" selector="{{AdminConfigSection.advancedReportingIndustry}}" userInput="Apps and Games"/> |
| 32 | + <click stepKey="clickSaveConfigButtonEnabled" selector="{{AdminConfigSection.saveButton}}"/> |
| 33 | + <see stepKey="seeSaveConfigurationMessageEnabled" selector="{{AdminConfigSection.advancedReportingSuccessMessage}}" userInput="You saved the configuration."/> |
| 34 | + <see stepKey="seeAdvancedReportingServiceEnabled" selector="{{AdminConfigSection.advancedReportingService}}" userInput="Enable"/> |
| 35 | + <see stepKey="seeAdvancedReportingServiceStatusEnabled" selector="{{AdminConfigSection.advancedReportingServiceStatus}}" userInput="Subscription status: Pending"/> |
| 36 | + <!--Disable Advanced Reporting--> |
| 37 | + <see stepKey="seeAdvancedReportingServiceLabelDisabled" selector="{{AdminConfigSection.advancedReportingServiceLabel}}" userInput="Advanced Reporting Service"/> |
| 38 | + <selectOption stepKey="selectAdvancedReportingServiceDisabled" selector="{{AdminConfigSection.advancedReportingService}}" userInput="Disable"/> |
| 39 | + <click stepKey="clickSaveConfigButtonDisabled" selector="{{AdminConfigSection.saveButton}}"/> |
| 40 | + <see stepKey="seeSaveConfigurationMessageDisabled" selector="{{AdminConfigSection.advancedReportingSuccessMessage}}" userInput="You saved the configuration."/> |
| 41 | + <see stepKey="seeAdvancedReportingServiceDisabled" selector="{{AdminConfigSection.advancedReportingService}}" userInput="Disable"/> |
| 42 | + <see stepKey="seeAdvancedReportingServiceStatusDisabled" selector="{{AdminConfigSection.advancedReportingServiceStatus}}" userInput="Subscription status: Disabled"/> |
| 43 | + </test> |
46 | 44 | </tests>
|
0 commit comments