Index: trunk/extensions/DonationInterface/tests/macros/suite-all-payment-gateways.htm |
— | — | @@ -10,7 +10,8 @@ |
11 | 11 | <tr><td><b>Test Suite</b></td></tr> |
12 | 12 | <tr><td><a href="form.globalcollect.webitects_2_3step.htm">form.globalcollect.default.us</a></td></tr> |
13 | 13 | <tr><td><a href="form.globalcollect.webitects_2_3step.htm">form.globalcollect.webitects_2_3step</a></td></tr> |
14 | | -<tr><td><a href="form.payflowpro.htm">form.payflowpro</a></td></tr> |
| 14 | +<tr><td><a href="form.payflowpro.american.express.htm">form.payflowpro</a></td></tr> |
| 15 | +<tr><td><a href="form.payflowpro.american.express.htm">form.payflowpro.american.express</a></td></tr> |
15 | 16 | <tr><td><a href="form.twostepamount.banktransfer.netherlands.htm">form.twostepamount.banktransfer.netherlands</a></td></tr> |
16 | 17 | <tr><td><a href="form.twostepamount.banktransfer.netherlands.fail.not.a.valid.combination.htm">form.twostepamount.banktransfer.netherlands.fail.not.a.valid.combination</a></td></tr> |
17 | 18 | <tr><td><a href="form.twostepamount.banktransfer.netherlands.htm">form.twostepamount.banktransfer.spain</a></td></tr> |
— | — | @@ -19,7 +20,6 @@ |
20 | 21 | <tr><td><a href="form.twostepamount.directdebit.italy.htm">form.twostepamount.directdebit.italy</a></td></tr> |
21 | 22 | <tr><td><a href="form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm">form.twostepamount.directdebit.netherlands</a></td></tr> |
22 | 23 | <tr><td><a href="form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm">form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length</a></td></tr> |
23 | | -<tr><td><a href="form.twostepamount.banktransfer.NL.htm">form.twostepamount.directdebit.spain</a></td></tr> |
24 | 24 | <tr><td><a href="form.twostepamount.realtimebanktransfer.enets.htm">form.twostepamount.realtimebanktransfer.enets</a></td></tr> |
25 | 25 | <tr><td><a href="form.twostepamount.realtimebanktransfer.eps.824.htm">form.twostepamount.realtimebanktransfer.eps.824</a></td></tr> |
26 | 26 | <tr><td><a href="form.twostepamount.realtimebanktransfer.ideal.771.htm">form.twostepamount.realtimebanktransfer.ideal.771</a></td></tr> |
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.italy.htm |
— | — | @@ -12,6 +12,21 @@ |
13 | 13 | <tr><td rowspan="1" colspan="3">form.twostepamount.realtimebanktransfer.enets</td></tr> |
14 | 14 | </thead><tbody> |
15 | 15 | <tr> |
| 16 | + <td>clickAndWait</td> |
| 17 | + <td>css=input.button-plain</td> |
| 18 | + <td></td> |
| 19 | +</tr> |
| 20 | +<tr> |
| 21 | + <td>verifyTextPresent</td> |
| 22 | + <td>Thank you for your support.</td> |
| 23 | + <td></td> |
| 24 | +</tr> |
| 25 | +<tr> |
| 26 | + <td>assertTitle</td> |
| 27 | + <td>Thank You/en - Wikimedia Foundation</td> |
| 28 | + <td></td> |
| 29 | +</tr> |
| 30 | +<tr> |
16 | 31 | <td>open</td> |
17 | 32 | <td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount&payment_method=dd&payment_submethod=dd_it&country=IT</td> |
18 | 33 | <td></td> |
Index: trunk/extensions/DonationInterface/tests/macros/form.globalcollect.webitects_2_3step.htm |
— | — | @@ -18,15 +18,10 @@ |
19 | 19 | </tr> |
20 | 20 | <tr> |
21 | 21 | <td>click</td> |
22 | | - <td>id=input_amount_other</td> |
| 22 | + <td>id=amountRadio6</td> |
23 | 23 | <td></td> |
24 | 24 | </tr> |
25 | 25 | <tr> |
26 | | - <td>type</td> |
27 | | - <td>id=other-amount</td> |
28 | | - <td>1</td> |
29 | | -</tr> |
30 | | -<tr> |
31 | 26 | <td>click</td> |
32 | 27 | <td>id=cc</td> |
33 | 28 | <td></td> |
— | — | @@ -42,11 +37,6 @@ |
43 | 38 | <td>Testerton</td> |
44 | 39 | </tr> |
45 | 40 | <tr> |
46 | | - <td>select</td> |
47 | | - <td>id=country</td> |
48 | | - <td>label=United States</td> |
49 | | -</tr> |
50 | | -<tr> |
51 | 41 | <td>type</td> |
52 | 42 | <td>id=street</td> |
53 | 43 | <td>123 G Street</td> |
— | — | @@ -59,7 +49,7 @@ |
60 | 50 | <tr> |
61 | 51 | <td>select</td> |
62 | 52 | <td>id=state</td> |
63 | | - <td>label=California</td> |
| 53 | + <td>label=CA</td> |
64 | 54 | </tr> |
65 | 55 | <tr> |
66 | 56 | <td>type</td> |
— | — | @@ -78,10 +68,50 @@ |
79 | 69 | </tr> |
80 | 70 | <tr> |
81 | 71 | <td>click</td> |
| 72 | + <td>id=paymentContinueBtn</td> |
| 73 | + <td></td> |
| 74 | +</tr> |
| 75 | +<tr> |
| 76 | + <td>click</td> |
| 77 | + <td>id=paymentContinueBtn</td> |
| 78 | + <td></td> |
| 79 | +</tr> |
| 80 | +<tr> |
| 81 | + <td>click</td> |
| 82 | + <td>id=cc-visa</td> |
| 83 | + <td></td> |
| 84 | +</tr> |
| 85 | +<tr> |
| 86 | + <td>click</td> |
82 | 87 | <td>css=img[alt="Visa"]</td> |
83 | 88 | <td></td> |
84 | 89 | </tr> |
85 | 90 | <tr> |
| 91 | + <td>click</td> |
| 92 | + <td>id=paymentContinueBtn</td> |
| 93 | + <td></td> |
| 94 | +</tr> |
| 95 | +<tr> |
| 96 | + <td>click</td> |
| 97 | + <td>id=paymentContinueBtn</td> |
| 98 | + <td></td> |
| 99 | +</tr> |
| 100 | +<tr> |
| 101 | + <td>click</td> |
| 102 | + <td>id=paymentContinueBtn</td> |
| 103 | + <td></td> |
| 104 | +</tr> |
| 105 | +<tr> |
| 106 | + <td>click</td> |
| 107 | + <td>id=expertContentHeading</td> |
| 108 | + <td></td> |
| 109 | +</tr> |
| 110 | +<tr> |
| 111 | + <td>click</td> |
| 112 | + <td>id=exceptionDialogButton</td> |
| 113 | + <td></td> |
| 114 | +</tr> |
| 115 | +<tr> |
86 | 116 | <td>type</td> |
87 | 117 | <td>id=F1009</td> |
88 | 118 | <td>4263982640269299</td> |
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.htm |
— | — | @@ -81,6 +81,21 @@ |
82 | 82 | <td>id=direct_debit_text</td> |
83 | 83 | <td>123</td> |
84 | 84 | </tr> |
| 85 | +<tr> |
| 86 | + <td>clickAndWait</td> |
| 87 | + <td>css=input.button-plain</td> |
| 88 | + <td></td> |
| 89 | +</tr> |
| 90 | +<tr> |
| 91 | + <td>verifyTextPresent</td> |
| 92 | + <td>Thank you for your support.</td> |
| 93 | + <td></td> |
| 94 | +</tr> |
| 95 | +<tr> |
| 96 | + <td>assertTitle</td> |
| 97 | + <td>Thank You/en - Wikimedia Foundation</td> |
| 98 | + <td></td> |
| 99 | +</tr> |
85 | 100 | </tbody></table> |
86 | 101 | </body> |
87 | 102 | </html> |
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.eps.824.htm |
— | — | @@ -56,6 +56,16 @@ |
57 | 57 | <td>//input[@name='amountRadio' and @value='20']</td> |
58 | 58 | <td></td> |
59 | 59 | </tr> |
| 60 | +<tr> |
| 61 | + <td>clickAndWait</td> |
| 62 | + <td>css=input.button-plain</td> |
| 63 | + <td></td> |
| 64 | +</tr> |
| 65 | +<tr> |
| 66 | + <td>verifyText</td> |
| 67 | + <td>css=p.payment_error_message.payment_error_message_general</td> |
| 68 | + <td>There was an error processing your transaction. Please try again later.</td> |
| 69 | +</tr> |
60 | 70 | </tbody></table> |
61 | 71 | </body> |
62 | 72 | </html> |
Index: trunk/extensions/DonationInterface/tests/macros/form.payflowpro.htm |
— | — | @@ -17,10 +17,85 @@ |
18 | 18 | <td></td> |
19 | 19 | </tr> |
20 | 20 | <tr> |
| 21 | + <td>type</td> |
| 22 | + <td>id=fname</td> |
| 23 | + <td>Testy</td> |
| 24 | +</tr> |
| 25 | +<tr> |
| 26 | + <td>type</td> |
| 27 | + <td>id=lname</td> |
| 28 | + <td>Testerton</td> |
| 29 | +</tr> |
| 30 | +<tr> |
| 31 | + <td>type</td> |
| 32 | + <td>id=emailAdd</td> |
| 33 | + <td>no-reply@wikimedia.org</td> |
| 34 | +</tr> |
| 35 | +<tr> |
| 36 | + <td>type</td> |
| 37 | + <td>id=amount</td> |
| 38 | + <td>100</td> |
| 39 | +</tr> |
| 40 | +<tr> |
| 41 | + <td>type</td> |
| 42 | + <td>id=card_num</td> |
| 43 | + <td>378282246310005</td> |
| 44 | +</tr> |
| 45 | +<tr> |
| 46 | + <td>type</td> |
| 47 | + <td>id=cvv</td> |
| 48 | + <td>123</td> |
| 49 | +</tr> |
| 50 | +<tr> |
| 51 | + <td>select</td> |
| 52 | + <td>id=year</td> |
| 53 | + <td>label=2020</td> |
| 54 | +</tr> |
| 55 | +<tr> |
| 56 | + <td>type</td> |
| 57 | + <td>id=street</td> |
| 58 | + <td>123 Test Street</td> |
| 59 | +</tr> |
| 60 | +<tr> |
| 61 | + <td>type</td> |
| 62 | + <td>id=city</td> |
| 63 | + <td>D</td> |
| 64 | +</tr> |
| 65 | +<tr> |
| 66 | + <td>type</td> |
| 67 | + <td>id=street</td> |
| 68 | + <td>123 G Street</td> |
| 69 | +</tr> |
| 70 | +<tr> |
| 71 | + <td>type</td> |
| 72 | + <td>id=city</td> |
| 73 | + <td>Davis</td> |
| 74 | +</tr> |
| 75 | +<tr> |
| 76 | + <td>select</td> |
| 77 | + <td>id=state</td> |
| 78 | + <td>label=California</td> |
| 79 | +</tr> |
| 80 | +<tr> |
| 81 | + <td>type</td> |
| 82 | + <td>id=zip</td> |
| 83 | + <td>95616</td> |
| 84 | +</tr> |
| 85 | +<tr> |
| 86 | + <td>select</td> |
| 87 | + <td>id=country</td> |
| 88 | + <td>label=United States</td> |
| 89 | +</tr> |
| 90 | +<tr> |
21 | 91 | <td>clickAndWait</td> |
22 | 92 | <td>css=input.button-plain</td> |
23 | 93 | <td></td> |
24 | 94 | </tr> |
| 95 | +<tr> |
| 96 | + <td>verifyText</td> |
| 97 | + <td>css=p.creditcard-error-msg</td> |
| 98 | + <td>communication is difficult with the test server</td> |
| 99 | +</tr> |
25 | 100 | </tbody></table> |
26 | 101 | </body> |
27 | 102 | </html> |
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm |
— | — | @@ -86,6 +86,16 @@ |
87 | 87 | <td>id=direct_debit_text</td> |
88 | 88 | <td>123</td> |
89 | 89 | </tr> |
| 90 | +<tr> |
| 91 | + <td>clickAndWait</td> |
| 92 | + <td>css=input.button-plain</td> |
| 93 | + <td></td> |
| 94 | +</tr> |
| 95 | +<tr> |
| 96 | + <td>verifyText</td> |
| 97 | + <td>css=p.payment_error_message.payment_error_message_general</td> |
| 98 | + <td>There was an error processing your transaction. Please try again later.</td> |
| 99 | +</tr> |
90 | 100 | </tbody></table> |
91 | 101 | </body> |
92 | 102 | </html> |
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.netherlands.fail.not.a.valid.combination.htm |
— | — | @@ -61,6 +61,16 @@ |
62 | 62 | <td>id=input_currency_code</td> |
63 | 63 | <td>label=USD: U.S. dollar</td> |
64 | 64 | </tr> |
| 65 | +<tr> |
| 66 | + <td>clickAndWait</td> |
| 67 | + <td>css=input.button-plain</td> |
| 68 | + <td></td> |
| 69 | +</tr> |
| 70 | +<tr> |
| 71 | + <td>verifyText</td> |
| 72 | + <td>css=p.payment_error_message.payment_error_message_general</td> |
| 73 | + <td>There was an error processing your transaction. Please try again later.</td> |
| 74 | +</tr> |
65 | 75 | </tbody></table> |
66 | 76 | </body> |
67 | 77 | </html> |
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.nordea_sweden.htm |
— | — | @@ -42,21 +42,31 @@ |
43 | 43 | <td>Amsterdam</td> |
44 | 44 | </tr> |
45 | 45 | <tr> |
46 | | - <td>select</td> |
47 | | - <td>id=state</td> |
48 | | - <td>label=Outside the U.S.</td> |
49 | | -</tr> |
50 | | -<tr> |
51 | 46 | <td>type</td> |
52 | 47 | <td>id=emailAdd</td> |
53 | 48 | <td>no-reply@wikimedia.org</td> |
54 | 49 | </tr> |
55 | 50 | <tr> |
56 | | - <td>type</td> |
57 | | - <td>id=amount</td> |
58 | | - <td>1</td> |
| 51 | + <td>click</td> |
| 52 | + <td>//input[@name='amountRadio' and @value='250']</td> |
| 53 | + <td></td> |
59 | 54 | </tr> |
60 | 55 | <tr> |
| 56 | + <td>click</td> |
| 57 | + <td>//table[@id='amount-radio']/tbody/tr[2]/td[3]/label</td> |
| 58 | + <td></td> |
| 59 | +</tr> |
| 60 | +<tr> |
| 61 | + <td>clickAndWait</td> |
| 62 | + <td>css=input.button-plain</td> |
| 63 | + <td></td> |
| 64 | +</tr> |
| 65 | +<tr> |
| 66 | + <td>verifyText</td> |
| 67 | + <td>css=p.payment_error_message.payment_error_message_general</td> |
| 68 | + <td>There was an error processing your transaction. Please try again later.</td> |
| 69 | +</tr> |
| 70 | +<tr> |
61 | 71 | <td>select</td> |
62 | 72 | <td>id=input_currency_code</td> |
63 | 73 | <td>label=EUR: Euro</td> |
Index: trunk/extensions/DonationInterface/tests/macros/form.payflowpro.american.express.htm |
— | — | @@ -0,0 +1,101 @@ |
| 2 | +<?xml version="1.0" encoding="UTF-8"?> |
| 3 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 4 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 5 | +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> |
| 6 | +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 7 | +<link rel="selenium.base" href="http://wikimedia-fundraising-1.17.localhost.wikimedia.org/" /> |
| 8 | +<title>form.payflowpro</title> |
| 9 | +</head> |
| 10 | +<body> |
| 11 | +<table cellpadding="1" cellspacing="1" border="1"> |
| 12 | +<thead> |
| 13 | +<tr><td rowspan="1" colspan="3">form.payflowpro</td></tr> |
| 14 | +</thead><tbody> |
| 15 | +<tr> |
| 16 | + <td>open</td> |
| 17 | + <td>/index.php/Special:PayflowProGateway</td> |
| 18 | + <td></td> |
| 19 | +</tr> |
| 20 | +<tr> |
| 21 | + <td>type</td> |
| 22 | + <td>id=fname</td> |
| 23 | + <td>Testy</td> |
| 24 | +</tr> |
| 25 | +<tr> |
| 26 | + <td>type</td> |
| 27 | + <td>id=lname</td> |
| 28 | + <td>Testerton</td> |
| 29 | +</tr> |
| 30 | +<tr> |
| 31 | + <td>type</td> |
| 32 | + <td>id=emailAdd</td> |
| 33 | + <td>no-reply@wikimedia.org</td> |
| 34 | +</tr> |
| 35 | +<tr> |
| 36 | + <td>type</td> |
| 37 | + <td>id=amount</td> |
| 38 | + <td>100</td> |
| 39 | +</tr> |
| 40 | +<tr> |
| 41 | + <td>type</td> |
| 42 | + <td>id=card_num</td> |
| 43 | + <td>378282246310005</td> |
| 44 | +</tr> |
| 45 | +<tr> |
| 46 | + <td>type</td> |
| 47 | + <td>id=cvv</td> |
| 48 | + <td>123</td> |
| 49 | +</tr> |
| 50 | +<tr> |
| 51 | + <td>select</td> |
| 52 | + <td>id=year</td> |
| 53 | + <td>label=2020</td> |
| 54 | +</tr> |
| 55 | +<tr> |
| 56 | + <td>type</td> |
| 57 | + <td>id=street</td> |
| 58 | + <td>123 Test Street</td> |
| 59 | +</tr> |
| 60 | +<tr> |
| 61 | + <td>type</td> |
| 62 | + <td>id=city</td> |
| 63 | + <td>D</td> |
| 64 | +</tr> |
| 65 | +<tr> |
| 66 | + <td>type</td> |
| 67 | + <td>id=street</td> |
| 68 | + <td>123 G Street</td> |
| 69 | +</tr> |
| 70 | +<tr> |
| 71 | + <td>type</td> |
| 72 | + <td>id=city</td> |
| 73 | + <td>Davis</td> |
| 74 | +</tr> |
| 75 | +<tr> |
| 76 | + <td>select</td> |
| 77 | + <td>id=state</td> |
| 78 | + <td>label=California</td> |
| 79 | +</tr> |
| 80 | +<tr> |
| 81 | + <td>type</td> |
| 82 | + <td>id=zip</td> |
| 83 | + <td>95616</td> |
| 84 | +</tr> |
| 85 | +<tr> |
| 86 | + <td>select</td> |
| 87 | + <td>id=country</td> |
| 88 | + <td>label=United States</td> |
| 89 | +</tr> |
| 90 | +<tr> |
| 91 | + <td>clickAndWait</td> |
| 92 | + <td>css=input.button-plain</td> |
| 93 | + <td></td> |
| 94 | +</tr> |
| 95 | +<tr> |
| 96 | + <td>verifyTextPresent</td> |
| 97 | + <td>Your credit card could not be validated.</td> |
| 98 | + <td></td> |
| 99 | +</tr> |
| 100 | +</tbody></table> |
| 101 | +</body> |
| 102 | +</html> |
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.payflowpro.american.express.htm |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 103 | + native |
Added: svn:mime-type |
2 | 104 | + text/html |
Added: svn:keywords |
3 | 105 | + Author Date HeadURL Header Id Revision |
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.enets.htm |
— | — | @@ -51,6 +51,21 @@ |
52 | 52 | <td>id=emailAdd</td> |
53 | 53 | <td>no-reply@wikimedia.org</td> |
54 | 54 | </tr> |
| 55 | +<tr> |
| 56 | + <td>clickAndWait</td> |
| 57 | + <td>css=input.button-plain</td> |
| 58 | + <td></td> |
| 59 | +</tr> |
| 60 | +<tr> |
| 61 | + <td>verifyTextPresent</td> |
| 62 | + <td>GLOBAL COLLECT B.V.</td> |
| 63 | + <td></td> |
| 64 | +</tr> |
| 65 | +<tr> |
| 66 | + <td>verifyTextPresent</td> |
| 67 | + <td>SGD 250.00</td> |
| 68 | + <td></td> |
| 69 | +</tr> |
55 | 70 | </tbody></table> |
56 | 71 | </body> |
57 | 72 | </html> |
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.netherlands.htm |
— | — | @@ -61,6 +61,21 @@ |
62 | 62 | <td>id=input_currency_code</td> |
63 | 63 | <td>label=EUR: Euro</td> |
64 | 64 | </tr> |
| 65 | +<tr> |
| 66 | + <td>clickAndWait</td> |
| 67 | + <td>css=input.button-plain</td> |
| 68 | + <td></td> |
| 69 | +</tr> |
| 70 | +<tr> |
| 71 | + <td>verifyTextPresent</td> |
| 72 | + <td>Thank you for your support.</td> |
| 73 | + <td></td> |
| 74 | +</tr> |
| 75 | +<tr> |
| 76 | + <td>assertTitle</td> |
| 77 | + <td>Thank You/en - Wikimedia Foundation</td> |
| 78 | + <td></td> |
| 79 | +</tr> |
65 | 80 | </tbody></table> |
66 | 81 | </body> |
67 | 82 | </html> |
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.austria.htm |
— | — | @@ -86,6 +86,21 @@ |
87 | 87 | <td>id=direct_debit_text</td> |
88 | 88 | <td>123</td> |
89 | 89 | </tr> |
| 90 | +<tr> |
| 91 | + <td>clickAndWait</td> |
| 92 | + <td>css=input.button-plain</td> |
| 93 | + <td></td> |
| 94 | +</tr> |
| 95 | +<tr> |
| 96 | + <td>verifyTextPresent</td> |
| 97 | + <td>Thank you for your support.</td> |
| 98 | + <td></td> |
| 99 | +</tr> |
| 100 | +<tr> |
| 101 | + <td>assertTitle</td> |
| 102 | + <td>Thank You/en - Wikimedia Foundation</td> |
| 103 | + <td></td> |
| 104 | +</tr> |
90 | 105 | </tbody></table> |
91 | 106 | </body> |
92 | 107 | </html> |
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.ideal.771.htm |
— | — | @@ -56,6 +56,16 @@ |
57 | 57 | <td>//input[@name='amountRadio' and @value='20']</td> |
58 | 58 | <td></td> |
59 | 59 | </tr> |
| 60 | +<tr> |
| 61 | + <td>clickAndWait</td> |
| 62 | + <td>css=input.button-plain</td> |
| 63 | + <td></td> |
| 64 | +</tr> |
| 65 | +<tr> |
| 66 | + <td>verifyText</td> |
| 67 | + <td>css=p.payment_error_message.payment_error_message_general</td> |
| 68 | + <td>There was an error processing your transaction. Please try again later.</td> |
| 69 | +</tr> |
60 | 70 | </tbody></table> |
61 | 71 | </body> |
62 | 72 | </html> |