Skip to content

Commit 2a18d5a

Browse files
committed
MTA-3515: Add dataset for updating Simple Product with custom options
2 parents 51d2090 + dad2fbe commit 2a18d5a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/UpdateSimpleProductEntityTest.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,19 @@
145145
<constraint name="Magento\Catalog\Test\Constraint\AssertProductInGrid" />
146146
<constraint name="Magento\Catalog\Test\Constraint\AssertProductInCategory" />
147147
</variation>
148+
<variation name="EditSimpleProductTestVariation11" summary="Update simple product with custom option">
149+
<data name="initialProduct/dataset" xsi:type="string">product_with_category</data>
150+
<data name="product/data/name" xsi:type="string">Test simple product %isolation%</data>
151+
<data name="product/data/sku" xsi:type="string">test_simple_product_%isolation%</data>
152+
<data name="product/data/price/value" xsi:type="string">245.00</data>
153+
<data name="product/data/quantity_and_stock_status/qty" xsi:type="string">200</data>
154+
<data name="product/data/custom_options/dataset" xsi:type="string">drop_down_with_one_option_percent_price</data>
155+
<data name="product/data/checkout_data/dataset" xsi:type="string">simple_drop_down_with_one_option_percent_price</data>
156+
<data name="product/data/url_key" xsi:type="string">test-simple-product-%isolation%</data>
157+
<data name="product/data/weight" xsi:type="string">120.0000</data>
158+
<constraint name="Magento\Catalog\Test\Constraint\AssertProductSaveMessage" />
159+
<constraint name="Magento\Catalog\Test\Constraint\AssertProductForm" />
160+
<constraint name="Magento\Catalog\Test\Constraint\AssertProductInCart" />
161+
</variation>
148162
</testCase>
149163
</config>

0 commit comments

Comments
 (0)