r102443 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102442‎ | r102443 | r102444 >
Date:21:11, 8 November 2011
Author:jpostlethwaite
Status:deferred
Tags:fundraising 
Comment:
Updating unit tests
Modified paths:
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.netherlands.fail.not.a.valid.combination.htm (modified) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.netherlands.htm (modified) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.creditcard.visa.us.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.enets.htm (modified) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.eps.824.htm (modified) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.nordea_sweden.htm (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.netherlands.fail.not.a.valid.combination.htm
@@ -57,7 +57,22 @@
5858 <td>1</td>
5959 </tr>
6060 <tr>
 61+ <td>selectWindow</td>
 62+ <td>null</td>
 63+ <td></td>
 64+</tr>
 65+<tr>
6166 <td>select</td>
 67+ <td>id=state</td>
 68+ <td>label=Outside the U.S.</td>
 69+</tr>
 70+<tr>
 71+ <td>type</td>
 72+ <td>id=zip</td>
 73+ <td>123</td>
 74+</tr>
 75+<tr>
 76+ <td>select</td>
6277 <td>id=input_currency_code</td>
6378 <td>label=U.S. dollar</td>
6479 </tr>
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.nordea_sweden.htm
@@ -62,6 +62,16 @@
6363 <td>label=Swedish krona</td>
6464 </tr>
6565 <tr>
 66+ <td>select</td>
 67+ <td>id=state</td>
 68+ <td>label=Outside the U.S.</td>
 69+</tr>
 70+<tr>
 71+ <td>type</td>
 72+ <td>id=zip</td>
 73+ <td>123</td>
 74+</tr>
 75+<tr>
6676 <td>clickAndWait</td>
6777 <td>css=input.button-plain</td>
6878 <td></td>
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.enets.htm
@@ -42,7 +42,37 @@
4343 <td>55 Market Street, #10-01</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=fname</td>
 53+ <td>Testy</td>
 54+</tr>
 55+<tr>
 56+ <td>type</td>
 57+ <td>id=lname</td>
 58+ <td>Testerton</td>
 59+</tr>
 60+<tr>
 61+ <td>type</td>
 62+ <td>id=zip</td>
 63+ <td>048941</td>
 64+</tr>
 65+<tr>
 66+ <td>type</td>
 67+ <td>id=street</td>
 68+ <td>55 Market Street, #10-01</td>
 69+</tr>
 70+<tr>
 71+ <td>select</td>
 72+ <td>id=state</td>
 73+ <td>label=Outside the U.S.</td>
 74+</tr>
 75+<tr>
 76+ <td>type</td>
4777 <td>id=city</td>
4878 <td>Singapore</td>
4979 </tr>
@@ -57,6 +87,11 @@
5888 <td></td>
5989 </tr>
6090 <tr>
 91+ <td>clickAndWait</td>
 92+ <td>id=button3</td>
 93+ <td>Go</td>
 94+</tr>
 95+<tr>
6196 <td>verifyTextPresent</td>
6297 <td>GLOBAL COLLECT B.V.</td>
6398 <td></td>
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.netherlands.htm
@@ -106,51 +106,6 @@
107107 <td>Thank You/en - Wikimedia Foundation</td>
108108 <td></td>
109109 </tr>
110 -<tr>
111 - <td>verifyTextPresent</td>
112 - <td>Account holder</td>
113 - <td></td>
114 -</tr>
115 -<tr>
116 - <td>verifyText</td>
117 - <td>css=th</td>
118 - <td>Account holder</td>
119 -</tr>
120 -<tr>
121 - <td>verifyTextPresent</td>
122 - <td>Bank name</td>
123 - <td></td>
124 -</tr>
125 -<tr>
126 - <td>verifyTextPresent</td>
127 - <td>Bank account number</td>
128 - <td></td>
129 -</tr>
130 -<tr>
131 - <td>verifyTextPresent</td>
132 - <td>City</td>
133 - <td></td>
134 -</tr>
135 -<tr>
136 - <td>verifyTextPresent</td>
137 - <td>Country description</td>
138 - <td></td>
139 -</tr>
140 -<tr>
141 - <td>verifyTextPresent</td>
142 - <td>IBAN</td>
143 - <td></td>
144 -</tr>
145 -<tr>
146 - <td>verifyTextPresent</td>
147 - <td>Payment reference</td>
148 - <td></td>
149 -</tr>
150 -<tr>
151 - <td>verifyTextPresent</td>
152 - <td>Swift code</td>
153 - <td></td>
154 -</tr>
155110 </tbody></table>
156111 </body>
157112 </html>
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.creditcard.visa.us.htm
@@ -0,0 +1,121 @@
 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.banktransfer</title>
 9+</head>
 10+<body>
 11+<table cellpadding="1" cellspacing="1" border="1">
 12+<thead>
 13+<tr><td rowspan="1" colspan="3">form.twostepamount.banktransfer</td></tr>
 14+</thead><tbody>
 15+<tr>
 16+ <td>open</td>
 17+ <td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount&amp;payment_method=cc&amp;payment_submethod=visa</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=zip</td>
 33+ <td>123</td>
 34+</tr>
 35+<tr>
 36+ <td>select</td>
 37+ <td>id=country</td>
 38+ <td>label=Netherlands</td>
 39+</tr>
 40+<tr>
 41+ <td>type</td>
 42+ <td>id=street</td>
 43+ <td>123 Happy Street</td>
 44+</tr>
 45+<tr>
 46+ <td>select</td>
 47+ <td>id=state</td>
 48+ <td>label=Outside the U.S.</td>
 49+</tr>
 50+<tr>
 51+ <td>type</td>
 52+ <td>id=city</td>
 53+ <td>Madrid</td>
 54+</tr>
 55+<tr>
 56+ <td>type</td>
 57+ <td>id=emailAdd</td>
 58+ <td>no-reply@wikimedia.org</td>
 59+</tr>
 60+<tr>
 61+ <td>click</td>
 62+ <td>id=input_amount_other</td>
 63+ <td></td>
 64+</tr>
 65+<tr>
 66+ <td>type</td>
 67+ <td>id=other-amount</td>
 68+ <td>1</td>
 69+</tr>
 70+<tr>
 71+ <td>select</td>
 72+ <td>id=input_currency_code</td>
 73+ <td>label=Euro</td>
 74+</tr>
 75+<tr>
 76+ <td>clickAndWait</td>
 77+ <td>css=input.button-plain</td>
 78+ <td></td>
 79+</tr>
 80+<tr>
 81+ <td>selectFrame</td>
 82+ <td>globalcollectframe</td>
 83+ <td></td>
 84+</tr>
 85+<tr>
 86+ <td>type</td>
 87+ <td>id=F1009</td>
 88+ <td>4263982640269299</td>
 89+</tr>
 90+<tr>
 91+ <td>select</td>
 92+ <td>id=F1010_MM</td>
 93+ <td>label=02</td>
 94+</tr>
 95+<tr>
 96+ <td>select</td>
 97+ <td>id=F1010_YY</td>
 98+ <td>label=12</td>
 99+</tr>
 100+<tr>
 101+ <td>type</td>
 102+ <td>id=F1136</td>
 103+ <td>123</td>
 104+</tr>
 105+<tr>
 106+ <td>clickAndWait</td>
 107+ <td>id=btnSubmit</td>
 108+ <td></td>
 109+</tr>
 110+<tr>
 111+ <td>verifyTextPresent</td>
 112+ <td>Thank you for your support.</td>
 113+ <td></td>
 114+</tr>
 115+<tr>
 116+ <td>assertTitle</td>
 117+ <td>Thank You/en - Wikimedia Foundation</td>
 118+ <td></td>
 119+</tr>
 120+</tbody></table>
 121+</body>
 122+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.creditcard.visa.us.htm
___________________________________________________________________
Added: svn:eol-style
1123 + native
Added: svn:mime-type
2124 + text/html
Added: svn:keywords
3125 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.eps.824.htm
@@ -37,7 +37,17 @@
3838 <td>Middenweg 200</td>
3939 </tr>
4040 <tr>
 41+ <td>select</td>
 42+ <td>id=state</td>
 43+ <td>label=Outside the U.S.</td>
 44+</tr>
 45+<tr>
4146 <td>type</td>
 47+ <td>id=zip</td>
 48+ <td>123</td>
 49+</tr>
 50+<tr>
 51+ <td>type</td>
4252 <td>id=city</td>
4353 <td>Amsterdam</td>
4454 </tr>

Status & tagging log