File tree Expand file tree Collapse file tree 4 files changed +52
-0
lines changed
dev/tests/functional/tests/app/Magento Expand file tree Collapse file tree 4 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 50
50
<field name =" cc_exp_year" xsi : type =" string" />
51
51
<field name =" cc_cid" xsi : type =" string" />
52
52
</dataset >
53
+
54
+ <dataset name =" visa_cvv_mismatch" >
55
+ <field name =" cc_number" xsi : type =" string" >4111111111111111</field >
56
+ <field name =" cc_exp_month" xsi : type =" string" >01 - January</field >
57
+ <field name =" cc_exp_year" xsi : type =" string" >2020</field >
58
+ <field name =" cc_cid" xsi : type =" string" >306</field >
59
+ </dataset >
53
60
</repository >
54
61
</config >
Original file line number Diff line number Diff line change 236
236
</field >
237
237
</dataset >
238
238
239
+ <dataset name =" payflowpro_avs_security_code_does_not_match" >
240
+ <field name =" payment/payflowpro/avs_security_code" xsi : type =" array" >
241
+ <item name =" scope" xsi : type =" string" >payment</item >
242
+ <item name =" scope_id" xsi : type =" number" >1</item >
243
+ <item name =" label" xsi : type =" string" >Yes</item >
244
+ <item name =" value" xsi : type =" number" >1</item >
245
+ </field >
246
+ </dataset >
247
+
239
248
<dataset name =" hosted_pro" >
240
249
<field name =" payment/paypal_group_all_in_one/payments_pro_hosted_solution_with_express_checkout/pphs_required_settings/pphs_required_settings_pphs/business_account" xsi : type =" array" >
241
250
<item name =" scope" xsi : type =" string" >payment</item >
Original file line number Diff line number Diff line change 35
35
<data name =" tag" xsi : type =" string" >test_type:3rd_party_test, severity:S1</data >
36
36
<constraint name =" Magento\Checkout\Test\Constraint\AssertCheckoutErrorMessage" />
37
37
</variation >
38
+ <variation name =" OnePageCheckoutPayflowProWithCVVDoesNotMatch" summary =" Place order via Payflow Pro with CVV verification fail" ticketId =" MAGETWO-37485" >
39
+ <data name =" tag" xsi : type =" string" >test_type:3rd_party_test, severity:S1</data >
40
+ <data name =" products/0" xsi : type =" string" >catalogProductSimple::product_10_dollar</data >
41
+ <data name =" customer/dataset" xsi : type =" string" >default</data >
42
+ <data name =" shippingAddress/dataset" xsi : type =" string" >US_address_1_without_email</data >
43
+ <data name =" checkoutMethod" xsi : type =" string" >guest</data >
44
+ <data name =" shipping/shipping_service" xsi : type =" string" >Flat Rate</data >
45
+ <data name =" shipping/shipping_method" xsi : type =" string" >Fixed</data >
46
+ <data name =" payment/method" xsi : type =" string" >payflowpro</data >
47
+ <data name =" creditCard/dataset" xsi : type =" string" >visa_cvv_mismatch</data >
48
+ <data name =" configData" xsi : type =" string" >payflowpro, payflowpro_avs_security_code_does_not_match</data >
49
+ <data name =" expectedErrorMessage" xsi : type =" string" >An error occurred on the server. Please try to place the order again.</data >
50
+ <constraint name =" Magento\Checkout\Test\Constraint\AssertCheckoutErrorMessage" />
51
+ </variation >
38
52
</testCase >
39
53
</config >
Original file line number Diff line number Diff line change 118
118
<constraint name =" Magento\Sales\Test\Constraint\AssertOrderStatusIsCorrect" />
119
119
<constraint name =" Magento\Sales\Test\Constraint\AssertOrderPaymentInformation" />
120
120
</variation >
121
+ <variation name =" OnePageCheckoutPayflowProWithCVVMatches" summary =" Place order via Payflow Pro with success CVV verification" ticketId =" MAGETWO-37484" >
122
+ <data name =" tag" xsi : type =" string" >test_type:3rd_party_test, severity:S1</data >
123
+ <data name =" products/0" xsi : type =" string" >catalogProductSimple::product_10_dollar</data >
124
+ <data name =" customer/dataset" xsi : type =" string" >default</data >
125
+ <data name =" shippingAddress/dataset" xsi : type =" string" >US_address_1_without_email</data >
126
+ <data name =" checkoutMethod" xsi : type =" string" >guest</data >
127
+ <data name =" shipping/shipping_service" xsi : type =" string" >Flat Rate</data >
128
+ <data name =" shipping/shipping_method" xsi : type =" string" >Fixed</data >
129
+ <data name =" payment/method" xsi : type =" string" >payflowpro</data >
130
+ <data name =" prices" xsi : type =" array" >
131
+ <item name =" grandTotal" xsi : type =" string" >15.00</item >
132
+ </data >
133
+ <data name =" creditCard/dataset" xsi : type =" string" >visa_default</data >
134
+ <data name =" configData" xsi : type =" string" >payflowpro, payflowpro_avs_security_code_does_not_match</data >
135
+ <data name =" paymentInfo" xsi : type =" array" >
136
+ <item name =" AVS Street Match" xsi : type =" string" >#Y: Matched (CVV2CSC)</item >
137
+ </data >
138
+ <constraint name =" Magento\Checkout\Test\Constraint\AssertOrderSuccessPlacedMessage" />
139
+ <constraint name =" Magento\Sales\Test\Constraint\AssertOrderGrandTotal" />
140
+ <constraint name =" Magento\Sales\Test\Constraint\AssertOrderPaymentInformation" />
141
+ <constraint name =" Magento\Sales\Test\Constraint\AssertAuthorizationInCommentsHistory" />
142
+ </variation >
121
143
</testCase >
122
144
</config >
You can’t perform that action at this time.
0 commit comments