Then my billing address should contain "Los Angeles"

Assert the billing or shipping address the account's "Addresses" page shows contains a text (a name, a street, a city).

Examples

Then my billing address should contain "Los Angeles"
And my shipping address should contain "2 Test Avenue"
Then our billing address should contain "Casey Customer"
Then my billing address should not contain "San Diego"
And my shipping address should not contain "1 Suite Road"

Pattern

Then(/^(?:my|our) (billing|shipping) address should( not)* contain "([^"]*)"$/, …)

Part of @webship-js/woocommerce-steps (github.com/webship/woocommerce-steps), a step pack for Webship-js 2.0.x.