r102336 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102335‎ | r102336 | r102337 >
Date:22:28, 7 November 2011
Author:jpostlethwaite
Status:deferred
Tags:fundraising 
Comment:
Updating unit tests
Modified paths:
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.austria.htm (modified) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.htm (modified) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.invalid.length.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.italy.htm (modified) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm (modified) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.ideal.771.htm (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.ideal.771.htm
@@ -13,7 +13,7 @@
1414 </thead><tbody>
1515 <tr>
1616 <td>open</td>
17 - <td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount&amp;payment_method=rtbt&amp;payment_submethod=rtbt_ideal&amp;issuer_id=751</td>
 17+ <td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount&amp;payment_method=rtbt&amp;payment_submethod=rtbt_ideal</td>
1818 <td></td>
1919 </tr>
2020 <tr>
@@ -48,8 +48,18 @@
4949 </tr>
5050 <tr>
5151 <td>select</td>
 52+ <td>id=state</td>
 53+ <td>label=Outside the U.S.</td>
 54+</tr>
 55+<tr>
 56+ <td>type</td>
 57+ <td>id=zip</td>
 58+ <td>123</td>
 59+</tr>
 60+<tr>
 61+ <td>select</td>
5262 <td>id=input_currency_code</td>
53 - <td>label=EUR: Euro</td>
 63+ <td>label=Euro</td>
5464 </tr>
5565 <tr>
5666 <td>click</td>
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.italy.htm
@@ -92,7 +92,17 @@
9393 <td>12</td>
9494 </tr>
9595 <tr>
 96+ <td>select</td>
 97+ <td>id=state</td>
 98+ <td>label=Outside the U.S.</td>
 99+</tr>
 100+<tr>
96101 <td>type</td>
 102+ <td>id=zip</td>
 103+ <td>123</td>
 104+</tr>
 105+<tr>
 106+ <td>type</td>
97107 <td>id=bank_check_digit</td>
98108 <td>1</td>
99109 </tr>
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.htm
@@ -57,31 +57,46 @@
5858 <td>label=Euro</td>
5959 </tr>
6060 <tr>
 61+ <td>select</td>
 62+ <td>id=state</td>
 63+ <td>label=Outside the U.S.</td>
 64+</tr>
 65+<tr>
6166 <td>type</td>
 67+ <td>id=zip</td>
 68+ <td>123</td>
 69+</tr>
 70+<tr>
 71+ <td>type</td>
6272 <td>id=account_name</td>
6373 <td>Johnsen</td>
6474 </tr>
6575 <tr>
6676 <td>type</td>
67 - <td>id=account_number</td>
68 - <td>7017361</td>
 77+ <td>id=authorization_id</td>
 78+ <td>991234567890</td>
6979 </tr>
7080 <tr>
7181 <td>type</td>
72 - <td>id=authorization_id</td>
73 - <td>123456</td>
 82+ <td>id=bank_code</td>
 83+ <td>001</td>
7484 </tr>
7585 <tr>
7686 <td>type</td>
77 - <td>id=bank_name</td>
78 - <td>Johnsen</td>
 87+ <td>id=bank_check_digit</td>
 88+ <td>71</td>
7989 </tr>
8090 <tr>
8191 <td>type</td>
82 - <td>id=direct_debit_text</td>
83 - <td>123</td>
 92+ <td>id=account_number</td>
 93+ <td>001385768571</td>
8494 </tr>
8595 <tr>
 96+ <td>type</td>
 97+ <td>id=bank_name</td>
 98+ <td>Johnsen</td>
 99+</tr>
 100+<tr>
86101 <td>clickAndWait</td>
87102 <td>css=input.button-plain</td>
88103 <td></td>
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.invalid.length.htm
@@ -0,0 +1,116 @@
 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.twostepamount.realtimebanktransfer.enets</title>
 9+</head>
 10+<body>
 11+<table cellpadding="1" cellspacing="1" border="1">
 12+<thead>
 13+<tr><td rowspan="1" colspan="3">form.twostepamount.realtimebanktransfer.enets</td></tr>
 14+</thead><tbody>
 15+<tr>
 16+ <td>open</td>
 17+ <td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount&amp;payment_method=dd&amp;payment_submethod=dd_be&amp;country=BE</td>
 18+ <td></td>
 19+</tr>
 20+<tr>
 21+ <td>click</td>
 22+ <td>id=input_amount_other</td>
 23+ <td></td>
 24+</tr>
 25+<tr>
 26+ <td>type</td>
 27+ <td>id=other-amount</td>
 28+ <td>1</td>
 29+</tr>
 30+<tr>
 31+ <td>type</td>
 32+ <td>id=fname</td>
 33+ <td>Testy</td>
 34+</tr>
 35+<tr>
 36+ <td>type</td>
 37+ <td>id=lname</td>
 38+ <td>Testerton</td>
 39+</tr>
 40+<tr>
 41+ <td>type</td>
 42+ <td>id=street</td>
 43+ <td>Middenweg 200</td>
 44+</tr>
 45+<tr>
 46+ <td>type</td>
 47+ <td>id=city</td>
 48+ <td>Amsterdam</td>
 49+</tr>
 50+<tr>
 51+ <td>type</td>
 52+ <td>id=emailAdd</td>
 53+ <td>no-reply@wikimedia.org</td>
 54+</tr>
 55+<tr>
 56+ <td>select</td>
 57+ <td>id=input_currency_code</td>
 58+ <td>label=Euro</td>
 59+</tr>
 60+<tr>
 61+ <td>select</td>
 62+ <td>id=state</td>
 63+ <td>label=Outside the U.S.</td>
 64+</tr>
 65+<tr>
 66+ <td>type</td>
 67+ <td>id=zip</td>
 68+ <td>123</td>
 69+</tr>
 70+<tr>
 71+ <td>type</td>
 72+ <td>id=account_name</td>
 73+ <td>Johnsen</td>
 74+</tr>
 75+<tr>
 76+ <td>type</td>
 77+ <td>id=authorization_id</td>
 78+ <td>991234567890</td>
 79+</tr>
 80+<tr>
 81+ <td>type</td>
 82+ <td>id=bank_code</td>
 83+ <td>001</td>
 84+</tr>
 85+<tr>
 86+ <td>type</td>
 87+ <td>id=bank_check_digit</td>
 88+ <td>71</td>
 89+</tr>
 90+<tr>
 91+ <td>type</td>
 92+ <td>id=account_number</td>
 93+ <td>3857685</td>
 94+</tr>
 95+<tr>
 96+ <td>type</td>
 97+ <td>id=bank_name</td>
 98+ <td>Johnsen</td>
 99+</tr>
 100+<tr>
 101+ <td>clickAndWait</td>
 102+ <td>css=input.button-plain</td>
 103+ <td></td>
 104+</tr>
 105+<tr>
 106+ <td>verifyTextPresent</td>
 107+ <td>Thank you for your support.</td>
 108+ <td></td>
 109+</tr>
 110+<tr>
 111+ <td>assertTitle</td>
 112+ <td>Thank You/en - Wikimedia Foundation</td>
 113+ <td></td>
 114+</tr>
 115+</tbody></table>
 116+</body>
 117+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.invalid.length.htm
___________________________________________________________________
Added: svn:eol-style
1118 + native
Added: svn:mime-type
2119 + text/html
Added: svn:keywords
3120 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm
@@ -74,7 +74,7 @@
7575 <tr>
7676 <td>type</td>
7777 <td>id=account_number</td>
78 - <td>123456789</td>
 78+ <td>12345678</td>
7979 </tr>
8080 <tr>
8181 <td>type</td>
@@ -92,11 +92,6 @@
9393 <td>12345</td>
9494 </tr>
9595 <tr>
96 - <td>type</td>
97 - <td>id=direct_debit_text</td>
98 - <td>123</td>
99 -</tr>
100 -<tr>
10196 <td>clickAndWait</td>
10297 <td>css=input.button-plain</td>
10398 <td></td>
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.austria.htm
@@ -42,7 +42,17 @@
4343 <td>Middenweg 200</td>
4444 </tr>
4545 <tr>
 46+ <td>select</td>
 47+ <td>id=state</td>
 48+ <td>label=Outside the U.S.</td>
 49+</tr>
 50+<tr>
4651 <td>type</td>
 52+ <td>id=zip</td>
 53+ <td>123</td>
 54+</tr>
 55+<tr>
 56+ <td>type</td>
4757 <td>id=city</td>
4858 <td>Amsterdam</td>
4959 </tr>
@@ -64,7 +74,7 @@
6575 <tr>
6676 <td>type</td>
6777 <td>id=account_number</td>
68 - <td>7017361</td>
 78+ <td>50643634</td>
6979 </tr>
7080 <tr>
7181 <td>type</td>
@@ -79,14 +89,9 @@
8090 <tr>
8191 <td>type</td>
8292 <td>id=bank_code</td>
83 - <td>12345</td>
 93+ <td>31000</td>
8494 </tr>
8595 <tr>
86 - <td>type</td>
87 - <td>id=direct_debit_text</td>
88 - <td>123</td>
89 -</tr>
90 -<tr>
9196 <td>clickAndWait</td>
9297 <td>css=input.button-plain</td>
9398 <td></td>

Status & tagging log