File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
app/code/Magento/AdminAnalytics/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +33
-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 =" AdminAnalyticsCheckTrackingTest" >
12
+ <annotations >
13
+ <stories value =" AdminAnalytics Check Tracking." />
14
+ <title value =" AdminAnalytics Check Tracking." />
15
+ <description value =" AdminAnalytics Check Tracking." />
16
+ </annotations >
17
+ <before >
18
+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" LoginAsAdmin" />
19
+ <magentoCLI command =" config:set admin/usage/enabled 1" stepKey =" enableAdminUsageTracking" />
20
+ <actionGroup ref =" CliCacheCleanActionGroup" stepKey =" cleanInvalidatedCaches" >
21
+ <argument name =" tags" value =" config full_page" />
22
+ </actionGroup >
23
+ <reloadPage stepKey =" pageReload" />
24
+ </before >
25
+ <after >
26
+ <magentoCLI command =" config:set admin/usage/enabled 0" stepKey =" disableAdminUsageTracking" />
27
+ <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
28
+ </after >
29
+
30
+ <waitForPageLoad stepKey =" waitForPageReloaded" />
31
+ <seeInPageSource html =" var adminAnalyticsMetadata =" stepKey =" seeInPageSource" />
32
+ </test >
33
+ </tests >
You can’t perform that action at this time.
0 commit comments