Skip to content

Commit 0aa181c

Browse files
committed
MC-35065: Catalog pricerules are not working with custom options as expected in Magento 2.3.0 product details page
1 parent 6b716b3 commit 0aa181c

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@
2626
<data key="price">99.99</data>
2727
<data key="price_type">fixed</data>
2828
</entity>
29-
<entity name="ProductOptionValueRadioButtonsWithDiscountedPrice" type="product_option_value">
30-
<data key="title">OptionValueRadioButtons1</data>
31-
<data key="sort_order">1</data>
32-
<data key="price">78.33</data>
33-
<data key="price_type">fixed</data>
34-
</entity>
3529
<entity name="ProductOptionValueRadioButtons2" type="product_option_value">
3630
<data key="title">OptionValueRadioButtons2</data>
3731
<data key="sort_order">2</data>

app/code/Magento/CatalogRule/Test/Mftf/Test/ApplyCatalogRuleForSimpleProductWithSelectFixedMethodTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@
9393
<!-- Assert regular and special price after selecting ProductOptionValueDropdown1 -->
9494
<actionGroup ref="StorefrontSelectCustomOptionRadioAndAssertPricesActionGroup" stepKey="storefrontSelectCustomOptionAndAssertPrices1">
9595
<argument name="customOption" value="ProductOptionRadioButton2"/>
96-
<argument name="customOptionValue" value="ProductOptionValueRadioButtonsWithDiscountedPrice"/>
96+
<argument name="customOptionValue" value="ProductOptionValueRadioButtons1"/>
9797
<argument name="productPrice" value="$156.77"/>
98-
<argument name="productFinalPrice" value="$122.81"/>
98+
<argument name="productFinalPrice" value="$144.47"/>
9999
</actionGroup>
100100

101101
<!-- Add product 1 to cart -->
@@ -105,7 +105,7 @@
105105

106106
<!-- Assert sub total on mini shopping cart -->
107107
<actionGroup ref="AssertSubTotalOnStorefrontMiniCartActionGroup" stepKey="assertSubTotalOnStorefrontMiniCart">
108-
<argument name="subTotal" value="$122.81"/>
108+
<argument name="subTotal" value="$144.47"/>
109109
</actionGroup>
110110
</test>
111111
</tests>

0 commit comments

Comments
 (0)