| openAndWait |
wp-admin |
|
| clickAndWait |
link=General Options |
|
| click |
payments-tab |
|
| type |
//input[@name='payment_type_names[]' and @value=''] |
Credit Card (manual) |
| select |
//table[@id='payment_types']/tbody/tr[5]/td[2]/select |
label=SPECIAL: Credit Card |
| select |
yak_cc_landing_page |
label=Thanks for your order |
| clickAndWait |
options_update5 |
|
| clickAndWait |
link=Visit Site |
|
| clickAndWait |
//button[@name='addbutton'] |
|
| select |
payment_type |
label=Credit Card (manual) |
| clickAndWait |
buybutton |
|
| clickAndWait |
shippingbutton |
|
| type |
cc_number |
4111111111111111 |
| type |
cc_security_code |
000 |
| type |
cc_name |
JOE BLOGGS |
| select |
cc_expiry_year |
label=2028 |
| clickAndWait |
confirmbutton |
|
| clickAndWait |
confirmorderbutton |
|
| assertTextPresent |
Thanks for your order |
|
| assertTextPresent |
Your order id is |
|
| openAndWait |
wp-admin |
|
| clickAndWait |
link=Orders |
|
| clickAndWait |
orders_query |
|
| click |
link=Details |
|
| assertTextPresent |
Credit Card (manual) |
|
| assertTextPresent |
Visa |
|
| assertTextPresent |
4111111111111111 |
|
| assertTextPresent |
000 |
|
| assertTextPresent |
JOE BLOGGS |
|
| assertTextPresent |
01/2028 |
|
| type |
funds_received[] |
20 |
| select |
action[] |
label=Send Stock |
| clickAndWait |
orders_update |
|
| select |
status |
label=show fulfilled orders |
| clickAndWait |
orders_query |
|
| click |
link=Details |
|
| assertTextPresent |
exact:**************** |
|