Skip to content

Commit 96c551f

Browse files
committed
MTA-3518: Add variation with product on custom website
2 parents 33dbe0b + 45da99b commit 96c551f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
<data name="product/data/url_key" xsi:type="string">simple-product-%isolation%</data>
169169
<data name="product/data/name" xsi:type="string">Simple Product %isolation%</data>
170170
<data name="product/data/sku" xsi:type="string">simple_sku_%isolation%</data>
171-
<data name="product/data/price/value" xsi:type="string">10008</data>
171+
<data name="product/data/price/value" xsi:type="string">10008.88</data>
172172
<data name="product/data/short_description" xsi:type="string">Simple Product short_description %isolation%</data>
173173
<data name="product/data/description" xsi:type="string">Simple Product description %isolation%</data>
174174
<data name="product/data/weight" xsi:type="string">58</data>
@@ -472,5 +472,16 @@
472472
<constraint name="Magento\Catalog\Test\Constraint\AssertProductSaveMessage" />
473473
<constraint name="Magento\Catalog\Test\Constraint\AssertProductTierPriceOnProductPage" />
474474
</variation>
475+
<variation name="CreateSimpleProductEntityTestVariation29" summary="Create Simple Product and assign it to custom website">
476+
<data name="product/data/url_key" xsi:type="string">simple-product-%isolation%</data>
477+
<data name="product/data/name" xsi:type="string">Simple Product %isolation%</data>
478+
<data name="product/data/sku" xsi:type="string">simple_sku_%isolation%</data>
479+
<data name="product/data/price/value" xsi:type="string">200.20</data>
480+
<data name="product/data/weight" xsi:type="string">50</data>
481+
<data name="product/data/quantity_and_stock_status/qty" xsi:type="string">668</data>
482+
<data name="product/data/website_ids/0/dataset" xsi:type="string">custom_store</data>
483+
<constraint name="Magento\Catalog\Test\Constraint\AssertProductSaveMessage" />
484+
<constraint name="Magento\Catalog\Test\Constraint\AssertProductOnCustomWebsite" />
485+
</variation>
475486
</testCase>
476487
</config>

0 commit comments

Comments
 (0)