Skip to content

Commit 96a9f3a

Browse files
committed
Fix was covered by MFTF test
1 parent 423a4da commit 96a9f3a

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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>

0 commit comments

Comments
 (0)