Skip to content

Commit e8bc21d

Browse files
author
Vadim Zubovich
committed
Merge branch 'MTO-61-new' of git.epam.com:magn-fat/magn-fat-ce into iteration2-pr-new
2 parents e570cfd + ce1115f commit e8bc21d

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

dev/tests/functional/tests/app/Magento/Checkout/Test/TestCase/OnePageCheckoutTest.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,5 +295,26 @@
295295
<constraint name="Magento\Sales\Test\Constraint\AssertOrderGrandTotal" />
296296
<constraint name="Magento\Sales\Test\Constraint\AssertOrderAddresses" />
297297
</variation>
298+
<variation name="OnePageCheckoutTestVariation11" summary="Checkout as Customer using default address" ticketId="MAGETWO-42600, MAGETWO-42546">
299+
<data name="products/0" xsi:type="string">catalogProductSimple::default</data>
300+
<data name="customer/dataset" xsi:type="string">customer_UK_US_addresses</data>
301+
<data name="checkoutMethod" xsi:type="string">login</data>
302+
<data name="shippingAddressCustomer" xsi:type="array">
303+
<item name="added" xsi:type="number">0</item>
304+
</data>
305+
<data name="billingAddressCustomer" xsi:type="array">
306+
<item name="added" xsi:type="number">0</item>
307+
</data>
308+
<data name="prices" xsi:type="array">
309+
<item name="grandTotal" xsi:type="string">565.00</item>
310+
</data>
311+
<data name="shipping/shipping_service" xsi:type="string">Flat Rate</data>
312+
<data name="shipping/shipping_method" xsi:type="string">Fixed</data>
313+
<data name="payment/method" xsi:type="string">checkmo</data>
314+
<data name="configData" xsi:type="string">checkmo_specificcountry_gb</data>
315+
<constraint name="Magento\Checkout\Test\Constraint\AssertOrderSuccessPlacedMessage" />
316+
<constraint name="Magento\Sales\Test\Constraint\AssertOrderGrandTotal" />
317+
<constraint name="Magento\Sales\Test\Constraint\AssertOrderAddresses" />
318+
</variation>
298319
</testCase>
299320
</config>

dev/tests/functional/tests/app/Magento/Customer/Test/Repository/Address.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,5 +240,16 @@
240240
<field name="region_id" xsi:type="string">Berlin</field>
241241
<field name="telephone" xsi:type="string">333-33-333-33</field>
242242
</dataset>
243+
244+
<dataset name="customer_UK_US_addresses">
245+
<field name="firstname" xsi:type="string">John</field>
246+
<field name="lastname" xsi:type="string">Doe%isolation%</field>
247+
<field name="email" xsi:type="string">John.Doe%isolation%@example.com</field>
248+
<field name="password" xsi:type="string">123123^q</field>
249+
<field name="password_confirmation" xsi:type="string">123123^q</field>
250+
<field name="address" xsi:type="array">
251+
<item name="dataset" xsi:type="string">UK_address_default_billing, US_address_default_shipping</item>
252+
</field>
253+
</dataset>
243254
</repository>
244255
</config>

0 commit comments

Comments
 (0)