https://www.mediawiki.org/wiki/Special:Code/MediaWiki/102150

Revision: 102150
Author:   jpostlethwaite
Date:     2011-11-06 04:11:20 +0000 (Sun, 06 Nov 2011)
Log Message:
-----------
Updated unit tests to include zip code.

Modified Paths:
--------------
    
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.netherlands.htm
    
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm

Modified: 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.netherlands.htm
===================================================================
--- 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.netherlands.htm
     2011-11-06 04:10:46 UTC (rev 102149)
+++ 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.netherlands.htm
     2011-11-06 04:11:20 UTC (rev 102150)
@@ -37,6 +37,16 @@
        <td>123 Happy Street</td>
 </tr>
 <tr>
+       <td>selectWindow</td>
+       <td>null</td>
+       <td></td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>id=state</td>
+       <td>label=Outside the U.S.</td>
+</tr>
+<tr>
        <td>type</td>
        <td>id=city</td>
        <td>Madrid</td>

Modified: 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm
===================================================================
--- 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm
    2011-11-06 04:10:46 UTC (rev 102149)
+++ 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm
    2011-11-06 04:11:20 UTC (rev 102150)
@@ -42,7 +42,17 @@
        <td>Middenweg 200</td>
 </tr>
 <tr>
+       <td>select</td>
+       <td>id=state</td>
+       <td>label=Outside the U.S.</td>
+</tr>
+<tr>
        <td>type</td>
+       <td>id=zip</td>
+       <td>123</td>
+</tr>
+<tr>
+       <td>type</td>
        <td>id=city</td>
        <td>Amsterdam</td>
 </tr>
@@ -64,7 +74,7 @@
 <tr>
        <td>type</td>
        <td>id=account_number</td>
-       <td>12345678</td>
+       <td>123456789</td>
 </tr>
 <tr>
        <td>type</td>
@@ -92,10 +102,15 @@
        <td></td>
 </tr>
 <tr>
-       <td>verifyText</td>
-       <td>css=p.payment_error_message.payment_error_message_general</td>
-       <td>There was an error processing your transaction. Please try again 
later.</td>
+       <td>verifyTextPresent</td>
+       <td>Thank you for your support.</td>
+       <td></td>
 </tr>
+<tr>
+       <td>assertTitle</td>
+       <td>Thank You/en - Wikimedia Foundation</td>
+       <td></td>
+</tr>
 </tbody></table>
 </body>
 </html>


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to