r101565 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101564‎ | r101565 | r101566 >
Date:00:52, 2 November 2011
Author:jpostlethwaite
Status:deferred (Comments)
Tags:fundraising 
Comment:
Adding Selenium macros for local unit testing.
Modified paths:
  • /trunk/extensions/DonationInterface/tests/macros/form.globalcollect.default.us.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.payflowpro.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.spain.htm (modified) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.austria.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.italy.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.spain.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.enets.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.ideal.771.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.nordea_sweden.htm (added) (history)
  • /trunk/extensions/DonationInterface/tests/macros/suite-all-payment-gateways.htm (added) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.nordea_sweden.htm
@@ -0,0 +1,66 @@
 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=rtbt&amp;payment_submethod=rtbt_nordea_sweeden</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>select</td>
 32+ <td>id=country</td>
 33+ <td>label=Netherlands</td>
 34+</tr>
 35+<tr>
 36+ <td>type</td>
 37+ <td>id=street</td>
 38+ <td>Middenweg 200</td>
 39+</tr>
 40+<tr>
 41+ <td>type</td>
 42+ <td>id=city</td>
 43+ <td>Amsterdam</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=emailAdd</td>
 53+ <td>no-reply@wikimedia.org</td>
 54+</tr>
 55+<tr>
 56+ <td>type</td>
 57+ <td>id=amount</td>
 58+ <td>1</td>
 59+</tr>
 60+<tr>
 61+ <td>select</td>
 62+ <td>id=input_currency_code</td>
 63+ <td>label=EUR: Euro</td>
 64+</tr>
 65+</tbody></table>
 66+</body>
 67+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.nordea_sweden.htm
___________________________________________________________________
Added: svn:eol-style
168 + native
Added: svn:mime-type
269 + text/html
Added: svn:keywords
370 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.enets.htm
@@ -0,0 +1,56 @@
 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=rtbt&amp;payment_submethod=rtbt_enets&amp;country=SG</td>
 18+ <td></td>
 19+</tr>
 20+<tr>
 21+ <td>click</td>
 22+ <td>//input[@name='amountRadio' and @value='250']</td>
 23+ <td></td>
 24+</tr>
 25+<tr>
 26+ <td>type</td>
 27+ <td>id=fname</td>
 28+ <td>Testy</td>
 29+</tr>
 30+<tr>
 31+ <td>type</td>
 32+ <td>id=lname</td>
 33+ <td>Testerton</td>
 34+</tr>
 35+<tr>
 36+ <td>type</td>
 37+ <td>id=zip</td>
 38+ <td>048941</td>
 39+</tr>
 40+<tr>
 41+ <td>type</td>
 42+ <td>id=street</td>
 43+ <td>55 Market Street, #10-01</td>
 44+</tr>
 45+<tr>
 46+ <td>type</td>
 47+ <td>id=city</td>
 48+ <td>Singapore</td>
 49+</tr>
 50+<tr>
 51+ <td>type</td>
 52+ <td>id=emailAdd</td>
 53+ <td>no-reply@wikimedia.org</td>
 54+</tr>
 55+</tbody></table>
 56+</body>
 57+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.enets.htm
___________________________________________________________________
Added: svn:eol-style
158 + native
Added: svn:mime-type
259 + text/html
Added: svn:keywords
360 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/suite-all-payment-gateways.htm
@@ -0,0 +1,24 @@
 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>
 6+ <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
 7+ <title>Test Suite</title>
 8+</head>
 9+<body>
 10+<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
 11+<tr><td><b>Test Suite</b></td></tr>
 12+<tr><td><a href="form.globalcollect.default.us.htm">form.globalcollect.default.us</a></td></tr>
 13+<tr><td><a href="form.payflowpro.htm">form.payflowpro</a></td></tr>
 14+<tr><td><a href="form.twostepamount.banktransfer.spain.htm">form.twostepamount.banktransfer.spain</a></td></tr>
 15+<tr><td><a href="form.twostepamount.directdebit.austria.htm">form.twostepamount.directdebit.austria</a></td></tr>
 16+<tr><td><a href="form.twostepamount.directdebit.belgium.htm">form.twostepamount.directdebit.belgium</a></td></tr>
 17+<tr><td><a href="form.twostepamount.directdebit.italy.htm">form.twostepamount.directdebit.italy</a></td></tr>
 18+<tr><td><a href="form.twostepamount.directdebit.spain.htm">form.twostepamount.directdebit.spain</a></td></tr>
 19+<tr><td><a href="form.twostepamount.directdebit.austria.htm">form.twostepamount.directdebit.netherlands</a></td></tr>
 20+<tr><td><a href="form.twostepamount.realtimebanktransfer.enets.htm">form.twostepamount.realtimebanktransfer.enets</a></td></tr>
 21+<tr><td><a href="form.twostepamount.realtimebanktransfer.ideal.771.htm">form.twostepamount.realtimebanktransfer.ideal.771</a></td></tr>
 22+<tr><td><a href="form.twostepamount.realtimebanktransfer.nordea_sweden.htm">form.twostepamount.realtimebanktransfer.nordea_sweden</a></td></tr>
 23+</tbody></table>
 24+</body>
 25+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/suite-all-payment-gateways.htm
___________________________________________________________________
Added: svn:eol-style
126 + native
Added: svn:mime-type
227 + text/html
Added: svn:keywords
328 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.italy.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.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_johnsen_nl&amp;country=IT</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=EUR: Euro</td>
 59+</tr>
 60+<tr>
 61+ <td>type</td>
 62+ <td>id=account_name</td>
 63+ <td>Johnsen</td>
 64+</tr>
 65+<tr>
 66+ <td>type</td>
 67+ <td>id=account_number</td>
 68+ <td>7017361</td>
 69+</tr>
 70+<tr>
 71+ <td>type</td>
 72+ <td>id=authorization_id</td>
 73+ <td>123456</td>
 74+</tr>
 75+<tr>
 76+ <td>type</td>
 77+ <td>id=bank_name</td>
 78+ <td>Johnsen</td>
 79+</tr>
 80+<tr>
 81+ <td>type</td>
 82+ <td>id=direct_debit_text</td>
 83+ <td>123</td>
 84+</tr>
 85+<tr>
 86+ <td>type</td>
 87+ <td>id=bank_code</td>
 88+ <td>12</td>
 89+</tr>
 90+<tr>
 91+ <td>type</td>
 92+ <td>id=branch_code</td>
 93+ <td>12</td>
 94+</tr>
 95+<tr>
 96+ <td>type</td>
 97+ <td>id=bank_check_digit</td>
 98+ <td>1</td>
 99+</tr>
 100+</tbody></table>
 101+</body>
 102+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.italy.htm
___________________________________________________________________
Added: svn:eol-style
1103 + native
Added: svn:mime-type
2104 + text/html
Added: svn:keywords
3105 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.htm
@@ -0,0 +1,86 @@
 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_johnsen_nl&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=EUR: Euro</td>
 59+</tr>
 60+<tr>
 61+ <td>type</td>
 62+ <td>id=account_name</td>
 63+ <td>Johnsen</td>
 64+</tr>
 65+<tr>
 66+ <td>type</td>
 67+ <td>id=account_number</td>
 68+ <td>7017361</td>
 69+</tr>
 70+<tr>
 71+ <td>type</td>
 72+ <td>id=authorization_id</td>
 73+ <td>123456</td>
 74+</tr>
 75+<tr>
 76+ <td>type</td>
 77+ <td>id=bank_name</td>
 78+ <td>Johnsen</td>
 79+</tr>
 80+<tr>
 81+ <td>type</td>
 82+ <td>id=direct_debit_text</td>
 83+ <td>123</td>
 84+</tr>
 85+</tbody></table>
 86+</body>
 87+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.belgium.htm
___________________________________________________________________
Added: svn:eol-style
188 + native
Added: svn:mime-type
289 + text/html
Added: svn:keywords
390 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.globalcollect.default.us.htm
@@ -0,0 +1,106 @@
 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.globalcollect.default.us</title>
 9+</head>
 10+<body>
 11+<table cellpadding="1" cellspacing="1" border="1">
 12+<thead>
 13+<tr><td rowspan="1" colspan="3">form.globalcollect.default.us</td></tr>
 14+</thead><tbody>
 15+<tr>
 16+ <td>open</td>
 17+ <td>/index.php/Special:GlobalCollectGateway?form_name=RapidHtml&amp;ffname=webitects_2_3step</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>click</td>
 32+ <td>id=cc</td>
 33+ <td></td>
 34+</tr>
 35+<tr>
 36+ <td>type</td>
 37+ <td>id=fname</td>
 38+ <td>Testy</td>
 39+</tr>
 40+<tr>
 41+ <td>type</td>
 42+ <td>id=lname</td>
 43+ <td>Testerton</td>
 44+</tr>
 45+<tr>
 46+ <td>select</td>
 47+ <td>id=country</td>
 48+ <td>label=United States</td>
 49+</tr>
 50+<tr>
 51+ <td>type</td>
 52+ <td>id=street</td>
 53+ <td>123 G Street</td>
 54+</tr>
 55+<tr>
 56+ <td>type</td>
 57+ <td>id=city</td>
 58+ <td>Davis</td>
 59+</tr>
 60+<tr>
 61+ <td>select</td>
 62+ <td>id=state</td>
 63+ <td>label=California</td>
 64+</tr>
 65+<tr>
 66+ <td>type</td>
 67+ <td>id=zip</td>
 68+ <td>95618</td>
 69+</tr>
 70+<tr>
 71+ <td>type</td>
 72+ <td>id=emailAdd</td>
 73+ <td>no-reply@wikimedia.org</td>
 74+</tr>
 75+<tr>
 76+ <td>click</td>
 77+ <td>id=cc-visa</td>
 78+ <td></td>
 79+</tr>
 80+<tr>
 81+ <td>click</td>
 82+ <td>css=img[alt=&quot;Visa&quot;]</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+</tbody></table>
 106+</body>
 107+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.globalcollect.default.us.htm
___________________________________________________________________
Added: svn:eol-style
1108 + native
Added: svn:mime-type
2109 + text/html
Added: svn:keywords
3110 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.htm
@@ -0,0 +1,86 @@
 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>click</td>
 17+ <td>id=input_amount_other</td>
 18+ <td></td>
 19+</tr>
 20+<tr>
 21+ <td>type</td>
 22+ <td>id=other-amount</td>
 23+ <td>1</td>
 24+</tr>
 25+<tr>
 26+ <td>open</td>
 27+ <td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount&amp;payment_method=dd&amp;payment_submethod=dd_johnsen_nl&amp;country=NL</td>
 28+ <td></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=EUR: Euro</td>
 59+</tr>
 60+<tr>
 61+ <td>type</td>
 62+ <td>id=account_name</td>
 63+ <td>Johnsen</td>
 64+</tr>
 65+<tr>
 66+ <td>type</td>
 67+ <td>id=account_number</td>
 68+ <td>7017361</td>
 69+</tr>
 70+<tr>
 71+ <td>type</td>
 72+ <td>id=authorization_id</td>
 73+ <td>123456</td>
 74+</tr>
 75+<tr>
 76+ <td>type</td>
 77+ <td>id=bank_name</td>
 78+ <td>Johnsen</td>
 79+</tr>
 80+<tr>
 81+ <td>type</td>
 82+ <td>id=direct_debit_text</td>
 83+ <td>123</td>
 84+</tr>
 85+</tbody></table>
 86+</body>
 87+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.netherlands.htm
___________________________________________________________________
Added: svn:eol-style
188 + native
Added: svn:mime-type
289 + text/html
Added: svn:keywords
390 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.banktransfer.spain.htm
@@ -13,7 +13,7 @@
1414 </thead><tbody>
1515 <tr>
1616 <td>open</td>
17 - <td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount</td>
 17+ <td>/index.php/Special:GlobalCollectGateway?form_name=TwoStepAmount&amp;payment_method=bt&amp;payment_submethod=bt</td>
1818 <td></td>
1919 </tr>
2020 <tr>
@@ -42,30 +42,25 @@
4343 <td>Madrid</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>
5146 <td>type</td>
5247 <td>id=emailAdd</td>
53 - <td>jpostlethwaite@wikimedia.org</td>
 48+ <td>no-reply@wikimedia.org</td>
5449 </tr>
5550 <tr>
 51+ <td>click</td>
 52+ <td>id=input_amount_other</td>
 53+ <td></td>
 54+</tr>
 55+<tr>
5656 <td>type</td>
57 - <td>id=amount</td>
58 - <td>100.00</td>
 57+ <td>id=other-amount</td>
 58+ <td>1</td>
5959 </tr>
6060 <tr>
6161 <td>select</td>
6262 <td>id=input_currency_code</td>
6363 <td>label=EUR: Euro</td>
6464 </tr>
65 -<tr>
66 - <td>clickAndWait</td>
67 - <td>css=input.button-plain</td>
68 - <td></td>
69 -</tr>
7065 </tbody></table>
7166 </body>
7267 </html>
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.austria.htm
@@ -0,0 +1,91 @@
 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_johnsen_nl&amp;country=AT</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=EUR: Euro</td>
 59+</tr>
 60+<tr>
 61+ <td>type</td>
 62+ <td>id=account_name</td>
 63+ <td>Johnsen</td>
 64+</tr>
 65+<tr>
 66+ <td>type</td>
 67+ <td>id=account_number</td>
 68+ <td>7017361</td>
 69+</tr>
 70+<tr>
 71+ <td>type</td>
 72+ <td>id=authorization_id</td>
 73+ <td>123456</td>
 74+</tr>
 75+<tr>
 76+ <td>type</td>
 77+ <td>id=bank_name</td>
 78+ <td>Johnsen</td>
 79+</tr>
 80+<tr>
 81+ <td>type</td>
 82+ <td>id=bank_code</td>
 83+ <td>12345</td>
 84+</tr>
 85+<tr>
 86+ <td>type</td>
 87+ <td>id=direct_debit_text</td>
 88+ <td>123</td>
 89+</tr>
 90+</tbody></table>
 91+</body>
 92+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.austria.htm
___________________________________________________________________
Added: svn:eol-style
193 + native
Added: svn:mime-type
294 + text/html
Added: svn:keywords
395 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.payflowpro.htm
@@ -0,0 +1,26 @@
 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>clickAndWait</td>
 22+ <td>css=input.button-plain</td>
 23+ <td></td>
 24+</tr>
 25+</tbody></table>
 26+</body>
 27+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.payflowpro.htm
___________________________________________________________________
Added: svn:eol-style
128 + native
Added: svn:mime-type
229 + text/html
Added: svn:keywords
330 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.spain.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.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_johnsen_nl&amp;country=ES</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=EUR: Euro</td>
 59+</tr>
 60+<tr>
 61+ <td>type</td>
 62+ <td>id=account_name</td>
 63+ <td>Johnsen</td>
 64+</tr>
 65+<tr>
 66+ <td>type</td>
 67+ <td>id=account_number</td>
 68+ <td>1234567890</td>
 69+</tr>
 70+<tr>
 71+ <td>type</td>
 72+ <td>id=authorization_id</td>
 73+ <td>123456</td>
 74+</tr>
 75+<tr>
 76+ <td>type</td>
 77+ <td>id=bank_name</td>
 78+ <td>Johnsen</td>
 79+</tr>
 80+<tr>
 81+ <td>type</td>
 82+ <td>id=direct_debit_text</td>
 83+ <td>123</td>
 84+</tr>
 85+<tr>
 86+ <td>type</td>
 87+ <td>id=bank_code</td>
 88+ <td>1234</td>
 89+</tr>
 90+<tr>
 91+ <td>type</td>
 92+ <td>id=branch_code</td>
 93+ <td>1234</td>
 94+</tr>
 95+<tr>
 96+ <td>type</td>
 97+ <td>id=bank_check_digit</td>
 98+ <td>12</td>
 99+</tr>
 100+</tbody></table>
 101+</body>
 102+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.directdebit.spain.htm
___________________________________________________________________
Added: svn:eol-style
1103 + native
Added: svn:mime-type
2104 + text/html
Added: svn:keywords
3105 + Author Date HeadURL Header Id Revision
Index: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.ideal.771.htm
@@ -0,0 +1,66 @@
 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=rtbt&amp;payment_submethod=rtbt_ideal&amp;issuer_id=751</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>select</td>
 32+ <td>id=country</td>
 33+ <td>label=Netherlands</td>
 34+</tr>
 35+<tr>
 36+ <td>type</td>
 37+ <td>id=street</td>
 38+ <td>Middenweg 200</td>
 39+</tr>
 40+<tr>
 41+ <td>type</td>
 42+ <td>id=city</td>
 43+ <td>Amsterdam</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=emailAdd</td>
 53+ <td>no-reply@wikimedia.org</td>
 54+</tr>
 55+<tr>
 56+ <td>type</td>
 57+ <td>id=amount</td>
 58+ <td>1</td>
 59+</tr>
 60+<tr>
 61+ <td>select</td>
 62+ <td>id=input_currency_code</td>
 63+ <td>label=EUR: Euro</td>
 64+</tr>
 65+</tbody></table>
 66+</body>
 67+</html>
Property changes on: trunk/extensions/DonationInterface/tests/macros/form.twostepamount.realtimebanktransfer.ideal.771.htm
___________________________________________________________________
Added: svn:eol-style
168 + native
Added: svn:mime-type
269 + text/html
Added: svn:keywords
370 + Author Date HeadURL Header Id Revision

Comments

#Comment by Jpostlethwaite (talk | contribs)   00:53, 2 November 2011

These are used for unit testing and may be useful to others.

These are run from Selenium IDE and not the command line.

Status & tagging log