File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
app/code/Magento/Swatches/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
+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
10
+ <test name =" AdminCheckColorUploadChooserVisualSwatchTest" >
11
+ <annotations >
12
+ <features value =" Swatches" />
13
+ <stories value =" Check correct view of visual swatches" />
14
+ <title value =" Correct view of Swatches while choosing color or upload image" />
15
+ <description value =" Correct view of Swatches while choosing color or upload image" />
16
+ <severity value =" AVERAGE" />
17
+ <group value =" Swatches" />
18
+ </annotations >
19
+ <before >
20
+ <actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
21
+ </before >
22
+ <amOnPage url =" {{ProductAttributePage.url}}" stepKey =" addNewProductAttribute" />
23
+ <selectOption selector =" {{AttributePropertiesSection.InputType}}"
24
+ userInput =" {{visualSwatchAttribute.input_type}}" stepKey =" fillInputType" />
25
+
26
+ <click selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" clickAddSwatch1" />
27
+ <click selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" clickAddSwatch2" />
28
+ <click selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" clickAddSwatch3" />
29
+ <click selector =" {{AdminManageSwatchSection.nthSwatch('3')}}" stepKey =" clickSwatch3" />
30
+ <click selector =" {{AdminManageSwatchSection.nthSwatch('2')}}" stepKey =" clickSwatch2" />
31
+ <click selector =" {{AdminManageSwatchSection.nthSwatch('1')}}" stepKey =" clickSwatch1" />
32
+ </test >
33
+ </tests >
You can’t perform that action at this time.
0 commit comments