File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
app/code/Magento/Backend/Test/Mftf/Test
dev/tests/functional/tests/app/Magento/Backend/Test/TestCase Expand file tree Collapse file tree 2 files changed +28
-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 =" AdminLoginAfterJSMinificationTest" >
12
+ <annotations >
13
+ <features value =" Backend" />
14
+ <title value =" Admin panel should be accessible with JS minification enabled" />
15
+ <description value =" Admin panel should be accessible with JS minification enabled" />
16
+ <group value =" backend" />
17
+ <group value =" mtf_migrated" />
18
+ </annotations >
19
+ <before >
20
+ <magentoCLI command =" config:set dev/js/minify_files 1" stepKey =" enableJsMinification" />
21
+ <magentoCLI command =" cache:clean config" stepKey =" cleanCache" />
22
+ </before >
23
+
24
+ <actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
25
+ <see userInput =" Dashboard" selector =" {{AdminHeaderSection.pageTitle}}" stepKey =" seeDashboardTitle" />
26
+ </test >
27
+ </tests >
Original file line number Diff line number Diff line change 12
12
<data name =" configData" xsi : type =" string" >minify_js_files</data >
13
13
<data name =" menuItem" xsi : type =" string" >Dashboard</data >
14
14
<data name =" pageTitle" xsi : type =" string" >Dashboard</data >
15
+ <data name =" tag" xsi : type =" string" >mftf_migrated:yes</data >
15
16
<constraint name =" Magento\Backend\Test\Constraint\AssertBackendPageIsAvailable" />
16
17
</variation >
17
18
</testCase >
You can’t perform that action at this time.
0 commit comments