test-confirmation-message
open wp-admin
clickAndWait link=General Options
click basic-tab
type yak_confirmation_email ${downloadEmail}
type yak_confirmation_subject Thanks for your order
type yak_confirmation_message Name: [name]

Order ID: [order_id]

Cost: [order_cost]

Payment Type: [payment_type]

Shipping Type: [shipping_type]

Shipping Cost: [shipping_cost]

[order_detail]

[shipping_address]
clickAndWait test-confirmation-email
type yak_confirmation_message <html>
<body>
<p>Name: [name]</p>

<p>Order ID: [order_id]</p>

<p>Cost: [order_cost]</p>

<p>Payment Type: [payment_type]</p>

<p>Shipping Type: [shipping_type]</p>

<br />
[html_order_detail]

<br />
[html_shipping_address]
</body>
</html>
clickAndWait test-confirmation-email
open wp-content/plugins/yak-test-mailer.php
clickAndWait link=5
assertTextPresent Name: Joe Test
clickAndWait link=6
assertTextPresent Name: Joe Test