Skip to content

Commit d56c4b2

Browse files
author
Stanislav Idolov
committed
MAGETWO-59573: Braintree JS error on checkout after applying 100% discount coupon with free shipping enabled
-- functional test
1 parent c0ec134 commit d56c4b2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

dev/tests/functional/tests/app/Magento/Braintree/Test/TestCase/OnePageCheckoutWithDiscountTest.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,25 @@
3030
<constraint name="Magento\Sales\Test\Constraint\AssertOrderGrandTotal" />
3131
<constraint name="Magento\Sales\Test\Constraint\AssertOrderStatusIsCorrect" />
3232
</variation>
33+
<variation name="OnePageCheckoutWithDiscountTestVariation2" summary="Checkout with 100% discount and free shipping if Braintree through PayPal is enabled" ticketId="MAGETWO-59940">
34+
<data name="description" xsi:type="string">Use saved for Braintree credit card on checkout</data>
35+
<data name="products/0" xsi:type="string">catalogProductSimple::product_10_dollar</data>
36+
<data name="customer/dataset" xsi:type="string">default</data>
37+
<data name="salesRule" xsi:type="string">active_sales_rule_with_fixed_price_discount_coupon</data>
38+
<data name="shippingAddress/dataset" xsi:type="string">US_address_1_without_email</data>
39+
<data name="checkoutMethod" xsi:type="string">login</data>
40+
<data name="shipping/shipping_service" xsi:type="string">Free Shipping</data>
41+
<data name="shipping/shipping_method" xsi:type="string">Free</data>
42+
<data name="payment/method" xsi:type="string">free</data>
43+
<data name="prices" xsi:type="array">
44+
<item name="grandTotal" xsi:type="string">0.00</item>
45+
</data>
46+
<data name="configData" xsi:type="string">braintree, braintree_use_vault, freeshipping</data>
47+
<data name="status" xsi:type="string">Pending</data>
48+
<data name="tag" xsi:type="string">test_type:3rd_party_test, severity:S1</data>
49+
<constraint name="Magento\Checkout\Test\Constraint\AssertOrderSuccessPlacedMessage" />
50+
<constraint name="Magento\Sales\Test\Constraint\AssertOrderGrandTotal" />
51+
<constraint name="Magento\Sales\Test\Constraint\AssertOrderStatusIsCorrect" />
52+
</variation>
3353
</testCase>
3454
</config>

0 commit comments

Comments
 (0)