File tree Expand file tree Collapse file tree 5 files changed +22
-13
lines changed
dev/tests/functional/tests/app/Magento
TestCase/ProductAttribute Expand file tree Collapse file tree 5 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 33
33
</field >
34
34
</dataset >
35
35
36
+ <dataset name =" tax_class_id" >
37
+ <field name =" attribute_id" xsi : type =" number" >172</field >
38
+ <field name =" frontend_label" xsi : type =" string" >Tax Class</field >
39
+ <field name =" attribute_code" xsi : type =" string" >tax_class_id</field >
40
+ <field name =" frontend_input" xsi : type =" string" >Dropdown</field >
41
+ <field name =" is_required" xsi : type =" string" >No</field >
42
+ <field name =" options" xsi : type =" array" >
43
+ <item name =" 0" xsi : type =" array" >
44
+ <item name =" is_default" xsi : type =" string" >No</item >
45
+ <item name =" admin" xsi : type =" string" >None</item >
46
+ <item name =" view" xsi : type =" string" >None</item >
47
+ </item >
48
+ <item name =" 1" xsi : type =" array" >
49
+ <item name =" is_default" xsi : type =" string" >Yes</item >
50
+ <item name =" admin" xsi : type =" string" >Taxable Goods</item >
51
+ <item name =" view" xsi : type =" string" >Taxable Goods</item >
52
+ </item >
53
+ </field >
54
+ </dataset >
55
+
36
56
<dataset name =" attribute_type_text_field" >
37
57
<field name =" frontend_label" xsi : type =" string" >attribute_text%isolation%</field >
38
58
<field name =" attribute_code" xsi : type =" string" >attribute_text%isolation%</field >
Original file line number Diff line number Diff line change 98
98
<data name =" productAttribute/data/used_in_product_listing" xsi : type =" string" >Yes</data >
99
99
<constraint name =" Magento\Catalog\Test\Constraint\AssertProductAttributeInGrid" />
100
100
<constraint name =" Magento\Catalog\Test\Constraint\AssertAttributeForm" />
101
- <constraint name =" Magento\CatalogSearch\Test\Constraint\AssertAdvancedSearchProductByAttribute" />
102
101
<constraint name =" Magento\Catalog\Test\Constraint\AssertAddedProductAttributeOnProductForm" />
103
102
<constraint name =" Magento\Catalog\Test\Constraint\AssertProductAttributeDisplayingOnFrontend" />
104
103
<constraint name =" Magento\Catalog\Test\Constraint\AssertProductAttributeDisplayingOnSearchForm" />
105
104
<constraint name =" Magento\Catalog\Test\Constraint\AssertProductAttributeIsComparable" />
106
105
<constraint name =" Magento\Catalog\Test\Constraint\AssertProductAttributeIsFilterable" />
107
106
<constraint name =" Magento\Catalog\Test\Constraint\AssertProductAttributeIsFilterableInSearch" />
107
+ <constraint name =" Magento\CatalogSearch\Test\Constraint\AssertAdvancedSearchProductByAttribute" />
108
108
<constraint name =" Magento\CatalogSearch\Test\Constraint\AssertAttributeSearchableByLabel" />
109
109
<constraint name =" Magento\Catalog\Test\Constraint\AssertAttributeOptionsOnProductForm" />
110
110
</variation >
Original file line number Diff line number Diff line change 52
52
</variation >
53
53
<variation name =" UpdateProductAttributeEntityTestVariation3" >
54
54
<data name =" productTemplate/dataset" xsi : type =" string" >custom_attribute_set</data >
55
- <data name =" productAttributeOriginal/dataset" xsi : type =" string" >quantity_and_stock_status </data >
55
+ <data name =" productAttributeOriginal/dataset" xsi : type =" string" >tax_class_id </data >
56
56
<data name =" attribute/data/is_searchable" xsi : type =" string" >Yes</data >
57
57
<data name =" attribute/data/is_visible_in_advanced_search" xsi : type =" string" >Yes</data >
58
58
<constraint name =" Magento\CatalogSearch\Test\Constraint\AssertAdvancedSearchProductByAttribute" />
Original file line number Diff line number Diff line change 25
25
<price_to >
26
26
<selector >#price_to</selector >
27
27
</price_to >
28
- <tax_class_id >
29
- <selector >#tax_class_id</selector >
30
- <input >select</input >
31
- </tax_class_id >
32
28
</fields >
33
29
</mapping >
Original file line number Diff line number Diff line change 112
112
<constraint name =" Magento\CatalogSearch\Test\Constraint\AssertAdvancedSearchProductsResult" />
113
113
</variation >
114
114
<variation name =" AdvancedSearchEntityTestVariation14" >
115
- <data name =" description" xsi : type =" string" >Search product in advanced search by Tax Class</data >
116
- <data name =" products/simple_1" xsi : type =" string" >Yes</data >
117
- <data name =" products/simple_2" xsi : type =" string" >-</data >
118
- <data name =" productSearch/data/tax_class_id" xsi : type =" string" >Taxable Goods</data >
119
- <constraint name =" Magento\CatalogSearch\Test\Constraint\AssertAdvancedSearchProductsResult" />
120
- </variation >
121
- <variation name =" AdvancedSearchEntityTestVariation15" >
122
115
<data name =" description" xsi : type =" string" >Negative product search</data >
123
116
<data name =" productSearch/data/name" xsi : type =" string" >Negative_product_search</data >
124
117
<constraint name =" Magento\CatalogSearch\Test\Constraint\AssertAdvancedSearchNoResult" />
You can’t perform that action at this time.
0 commit comments