Skip to content

Commit 13e3bf4

Browse files
author
Dima Dromov
committed
Fix add product attribute to attribute set
1 parent 6e111fb commit 13e3bf4

17 files changed

+194
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
5+
<test name="AdminAssignProductAttributeToAttributeSetTest">
6+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToGroup">
7+
<argument name="group" value="General"/>
8+
<argument name="attribute" value="$$attribute.attribute_code$$"/>
9+
</actionGroup>
10+
</test>
11+
</tests>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
5+
<test name="AdminChangeProductAttributeGroupTest">
6+
<before>
7+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToGroup">
8+
<argument name="group" value="General"/>
9+
<argument name="attribute" value="$createProductAttribute.attribute_code$"/>
10+
</actionGroup>
11+
</before>
12+
</test>
13+
</tests>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
5+
<test name="AdminChangeProductAttributeSetTest">
6+
<before>
7+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToGroup">
8+
<argument name="group" value="General"/>
9+
<argument name="attribute" value="$$createProductAttribute.attribute_code$$"/>
10+
</actionGroup>
11+
</before>
12+
</test>
13+
</tests>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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="AdminCheckResultsOfColorAndOtherFiltersTest">
11+
<before>
12+
<actionGroup ref="AdminAddUnassignedAttributeToGroupActionGroup" stepKey="createDefaultAttributeSet">
13+
<argument name="label" value="mySet"/>
14+
<argument name="firstOption" value="$$createConfigProductAttribute.attribute_code$$"/>
15+
<argument name="secondOption" value="$$createConfigProductAttribute2.attribute_code$$"/>
16+
<argument name="group" value="General"/>
17+
</actionGroup>
18+
</before>
19+
</test>
20+
</tests>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
5+
<test name="AdminCreateAttributeSetEntityTest">
6+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToGroup">
7+
<argument name="group" value="General"/>
8+
<argument name="attribute" value="$$createProductAttribute.attribute_code$$"/>
9+
</actionGroup>
10+
</test>
11+
</tests>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
5+
<test name="AdminCreateDropdownProductAttributeVisibleInStorefrontAdvancedSearchFormTest">
6+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToGroup">
7+
<argument name="group" value="General"/>
8+
<argument name="attribute" value="$$attribute.attribute_code$$"/>
9+
</actionGroup>
10+
</test>
11+
</tests>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
5+
<test name="AdminCreateMultipleSelectProductAttributeVisibleInStorefrontAdvancedSearchFormTest">
6+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToGroup">
7+
<argument name="group" value="General"/>
8+
<argument name="attribute" value="$$attribute.attribute_code$$"/>
9+
</actionGroup>
10+
</test>
11+
</tests>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
5+
<test name="AdminCreateTextEditorProductAttributeTest">
6+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToGroup">
7+
<argument name="group" value="General"/>
8+
<argument name="attribute" value="{{productTextEditorAttribute.attribute_code}}"/>
9+
</actionGroup>
10+
</test>
11+
</tests>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
5+
<test name="AdminDeleteDropdownProductAttributeFromAttributeSetTest">
6+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttribute">
7+
<argument name="group" value="General"/>
8+
<argument name="attribute" value="$$attribute.attribute_code$$"/>
9+
</actionGroup>
10+
</test>
11+
</tests>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
4+
<test name="AdminProductGridFilteringByDateWithCustomLocaleTest">
5+
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToGroup">
6+
<argument name="group" value="General"/>
7+
<argument name="attribute" value="{{dateProductAttribute.attribute_code}}"/>
8+
</actionGroup>
9+
</test>
10+
</tests>

0 commit comments

Comments
 (0)