Skip to content

Commit 2358d1c

Browse files
committed
MC-16650: Product Attribute Type Price Not Displaying
Changes entity name for MFTF test code
1 parent cdc1c77 commit 2358d1c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Catalog/Test/Mftf/Data/ProductAttributeData.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
<data key="used_for_sort_by">false</data>
279279
<requiredEntity type="FrontendLabel">ProductAttributeFrontendLabel</requiredEntity>
280280
</entity>
281-
<entity name="productAttributePrice" type="ProductAttribute">
281+
<entity name="productAttributeTypeOfPrice" type="ProductAttribute">
282282
<data key="attribute_code" unique="suffix">attribute</data>
283283
<data key="frontend_input">price</data>
284284
<data key="scope">global</data>

app/code/Magento/CatalogSearch/Test/Mftf/Test/LayerNavigationOfCatalogSearchTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
</annotations>
2020
<before>
2121
<magentoCLI command="config:set catalog/layered_navigation/price_range_calculation auto" stepKey="setAutoPriceRange"/>
22-
<actionGroup ref = "LoginAsAdmin" stepKey="loginAsAdmin"/>
23-
<createData stepKey="createPriceAttribute" entity="productAttributePrice"/>
22+
<createData stepKey="createPriceAttribute" entity="productAttributeTypeOfPrice"/>
2423
<createData stepKey="assignPriceAttributeGroup" entity="AddToDefaultSet">
2524
<requiredEntity createDataKey="createPriceAttribute"/>
2625
</createData>
@@ -31,6 +30,7 @@
3130
<createData entity="SimpleProduct" stepKey="simpleProduct2">
3231
<requiredEntity createDataKey="subCategory"/>
3332
</createData>
33+
<actionGroup ref = "LoginAsAdmin" stepKey="loginAsAdmin"/>
3434
</before>
3535
<after>
3636
<deleteData stepKey="deleteSimpleSubCategory" createDataKey="subCategory"/>

0 commit comments

Comments
 (0)