File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
app/code/Magento/AdminAnalytics/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +35
-0
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+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11+ <test name =" AdminCheckAnalyticsTrackingTest" >
12+ <annotations >
13+ <stories value =" AdminAnalytics Check Tracking." />
14+ <title value =" AdminAnalytics Check Tracking." />
15+ <description value =" AdminAnalytics Check Tracking." />
16+ <severity value =" MINOR" />
17+ <testCaseId value =" MC-36869" />
18+ </annotations >
19+ <before >
20+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" LoginAsAdmin" />
21+ <magentoCLI command =" config:set admin/usage/enabled 1" stepKey =" enableAdminUsageTracking" />
22+ <actionGroup ref =" CliCacheCleanActionGroup" stepKey =" cleanInvalidatedCaches" >
23+ <argument name =" tags" value =" config full_page" />
24+ </actionGroup >
25+ <reloadPage stepKey =" pageReload" />
26+ </before >
27+ <after >
28+ <magentoCLI command =" config:set admin/usage/enabled 0" stepKey =" disableAdminUsageTracking" />
29+ <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
30+ </after >
31+
32+ <waitForPageLoad stepKey =" waitForPageReloaded" />
33+ <seeInPageSource html =" var adminAnalyticsMetadata =" stepKey =" seeInPageSource" />
34+ </test >
35+ </tests >
You can’t perform that action at this time.
0 commit comments