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

Revision: 102336
Author:   jpostlethwaite
Date:     2011-11-07 22:28:57 +0000 (Mon, 07 Nov 2011)
Log Message:
-----------
Updating unit tests

Modified Paths:
--------------
    
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.austria.htm
    
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.htm
    
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.italy.htm
    
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm
    
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.ideal.771.htm

Added Paths:
-----------
    
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.invalid.length.htm

Modified: 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.austria.htm
===================================================================
--- 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.austria.htm
  2011-11-07 22:15:05 UTC (rev 102335)
+++ 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.austria.htm
  2011-11-07 22:28:57 UTC (rev 102336)
@@ -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>7017361</td>
+       <td>50643634</td>
 </tr>
 <tr>
        <td>type</td>
@@ -79,14 +89,9 @@
 <tr>
        <td>type</td>
        <td>id=bank_code</td>
-       <td>12345</td>
+       <td>31000</td>
 </tr>
 <tr>
-       <td>type</td>
-       <td>id=direct_debit_text</td>
-       <td>123</td>
-</tr>
-<tr>
        <td>clickAndWait</td>
        <td>css=input.button-plain</td>
        <td></td>

Modified: 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.htm
===================================================================
--- 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.htm
  2011-11-07 22:15:05 UTC (rev 102335)
+++ 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.htm
  2011-11-07 22:28:57 UTC (rev 102336)
@@ -57,31 +57,46 @@
        <td>label=Euro</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=account_name</td>
        <td>Johnsen</td>
 </tr>
 <tr>
        <td>type</td>
-       <td>id=account_number</td>
-       <td>7017361</td>
+       <td>id=authorization_id</td>
+       <td>991234567890</td>
 </tr>
 <tr>
        <td>type</td>
-       <td>id=authorization_id</td>
-       <td>123456</td>
+       <td>id=bank_code</td>
+       <td>001</td>
 </tr>
 <tr>
        <td>type</td>
-       <td>id=bank_name</td>
-       <td>Johnsen</td>
+       <td>id=bank_check_digit</td>
+       <td>71</td>
 </tr>
 <tr>
        <td>type</td>
-       <td>id=direct_debit_text</td>
-       <td>123</td>
+       <td>id=account_number</td>
+       <td>001385768571</td>
 </tr>
 <tr>
+       <td>type</td>
+       <td>id=bank_name</td>
+       <td>Johnsen</td>
+</tr>
+<tr>
        <td>clickAndWait</td>
        <td>css=input.button-plain</td>
        <td></td>

Added: 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.invalid.length.htm
===================================================================
--- 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.invalid.length.htm
                           (rev 0)
+++ 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.invalid.length.htm
   2011-11-07 22:28:57 UTC (rev 102336)
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case";>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" 
href="http://wikimedia-fundraising-1.17.localhost.wikimedia.org/"; />
+<title>form.twostepamount.realtimebanktransfer.enets</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" 
colspan="3">form.twostepamount.realtimebanktransfer.enets</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       
<td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount&amp;payment_method=dd&amp;payment_submethod=dd_be&amp;country=BE</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>id=input_amount_other</td>
+       <td></td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=other-amount</td>
+       <td>1</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=fname</td>
+       <td>Testy</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=lname</td>
+       <td>Testerton</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=street</td>
+       <td>Middenweg 200</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=city</td>
+       <td>Amsterdam</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=emailAdd</td>
+       <td>no-re...@wikimedia.org</td>
+</tr>
+<tr>
+       <td>select</td>
+       <td>id=input_currency_code</td>
+       <td>label=Euro</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=account_name</td>
+       <td>Johnsen</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=authorization_id</td>
+       <td>991234567890</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=bank_code</td>
+       <td>001</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=bank_check_digit</td>
+       <td>71</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=account_number</td>
+       <td>3857685</td>
+</tr>
+<tr>
+       <td>type</td>
+       <td>id=bank_name</td>
+       <td>Johnsen</td>
+</tr>
+<tr>
+       <td>clickAndWait</td>
+       <td>css=input.button-plain</td>
+       <td></td>
+</tr>
+<tr>
+       <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>


Property changes on: 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.invalid.length.htm
___________________________________________________________________
Added: svn:mime-type
   + text/html
Added: svn:keywords
   + Author Date HeadURL Header Id Revision
Added: svn:eol-style
   + native

Modified: 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.italy.htm
===================================================================
--- 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.italy.htm
    2011-11-07 22:15:05 UTC (rev 102335)
+++ 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.italy.htm
    2011-11-07 22:28:57 UTC (rev 102336)
@@ -92,7 +92,17 @@
        <td>12</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=bank_check_digit</td>
        <td>1</td>
 </tr>

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-07 22:15:05 UTC (rev 102335)
+++ 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.fail.invalid.accountnumber.length.htm
    2011-11-07 22:28:57 UTC (rev 102336)
@@ -74,7 +74,7 @@
 <tr>
        <td>type</td>
        <td>id=account_number</td>
-       <td>123456789</td>
+       <td>12345678</td>
 </tr>
 <tr>
        <td>type</td>
@@ -92,11 +92,6 @@
        <td>12345</td>
 </tr>
 <tr>
-       <td>type</td>
-       <td>id=direct_debit_text</td>
-       <td>123</td>
-</tr>
-<tr>
        <td>clickAndWait</td>
        <td>css=input.button-plain</td>
        <td></td>

Modified: 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.ideal.771.htm
===================================================================
--- 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.ideal.771.htm
       2011-11-07 22:15:05 UTC (rev 102335)
+++ 
trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.ideal.771.htm
       2011-11-07 22:28:57 UTC (rev 102336)
@@ -13,7 +13,7 @@
 </thead><tbody>
 <tr>
        <td>open</td>
-       
<td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount&amp;payment_method=rtbt&amp;payment_submethod=rtbt_ideal&amp;issuer_id=751</td>
+       
<td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount&amp;payment_method=rtbt&amp;payment_submethod=rtbt_ideal</td>
        <td></td>
 </tr>
 <tr>
@@ -48,8 +48,18 @@
 </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>select</td>
        <td>id=input_currency_code</td>
-       <td>label=EUR: Euro</td>
+       <td>label=Euro</td>
 </tr>
 <tr>
        <td>click</td>


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to