Then my address book should list "1 Webship Street"

The address book lists an address (by a part of it: a street, a city), or does not; "as the default" checks it is the default one.

Examples

Then my address book should list "1 Webship Street"
Then my address book should list "1 Webship Street" as the default
And our address book should not list "3 Webship Lane"
Then my address book should list "Manchester"
Then my address book should list "3 Webship Lane" as the default

Pattern

Then(/^(?:my|our) address book should( not)? list "([^"]*)"( as the default)?$/, …)

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