| second-payment-option | ||
| openAndWait | wp-admin | |
| clickAndWait | link=Pages | |
| clickAndWait | css=a.add-new-h2 | |
| type | title | Pay By Cheque |
| click | content-html | |
| type | content | Please deposit the amount of [yak_order_value] into the following account: ACC DETAILS HERE |
| click | comment_status | |
| click | ping_status | |
| clickAndWait | publish | |
| clickAndWait | link=General Options | |
| click | payments-tab | |
| type | //input[@name='payment_type_names[]' and @value=''] | Cheque |
| select | //table[@id='payment_types']/tbody/tr[3]/td[2]/select | label=PAGE: Pay By Cheque |
| click | options_update5 | |
| clickAndWait | link=Visit Site | |
| clickAndWait | //button[@name='addbutton'] | |
| assertSelectOptions | //select[@name='payment_type'] | Deposit,Cheque |
| select | payment_type | label=Cheque |
| clickAndWait | buybutton | |
| clickAndWait | shippingbutton | |
| assertTextPresent | Payment method: Cheque | |
| clickAndWait | confirmorderbutton | |
| assertTextPresent | Pay By Cheque | |
| assertTextPresent | Please deposit the amount of $50.00 into the following account | |