| open |
wp-admin |
|
| clickAndWait |
link=General Options |
|
| click |
css=#payments-tab > span |
|
| clickAndWait |
name=generate-key |
|
| storeValue |
yak_cc_public_key |
publicKey |
| storeText |
private-key |
privateKey |
| clickAndWait |
options_update5 |
|
| clickAndWait |
link=Visit Site |
|
| clickAndWait |
link=test-product-weight |
|
| clickAndWait |
//button[@name='addbutton'] |
|
| select |
payment_type |
label=Credit Card (manual) |
| clickAndWait |
buybutton |
|
| clickAndWait |
shippingbutton |
|
| type |
cc_number |
4012888888881881 |
| type |
cc_security_code |
555 |
| type |
cc_name |
JOE BLOGGS |
| select |
cc_expiry_year |
label=2015 |
| clickAndWait |
confirmbutton |
|
| clickAndWait |
confirmorderbutton |
|
| open |
wp-admin |
|
| clickAndWait |
link=Orders |
|
| clickAndWait |
orders_query |
|
| click |
link=Details |
|
| assertTextNotPresent |
4012888888881881 |
|
| assertNotText |
row1-CC-security-code |
555 |
| type |
private-key |
${privateKey} |
| clickAndWait |
orders_query |
|
| assertValue |
private-key |
|
| click |
link=Details |
|
| assertText |
row1-CC-number |
4012888888881881 |
| assertText |
row1-CC-security-code |
555 |
| clickAndWait |
link=General Options |
|
| click |
//a[@id='payments-tab']/span |
|
| type |
yak_cc_public_key |
|
| clickAndWait |
options_update5 |
|
| clickAndWait |
link=Orders |
|
| assertElementNotPresent |
private-key |
|