Add an identity in Settings > Identities: a name and an address a message can go out from. It is deleted when the scenario ends.
Then the identities should list "Webship test identity <alice@example.com>"
Examples
When I add the identity "Alice at work" with the address "alice@example.com"
When we add the identity "Webship test identity" with the address "alice@example.com"
And I add the identity "Alice Support" with the address "alice@example.com"
When I add the identity "Bob at work" with the address "bob@example.com"
When I add the identity "Webship test identity" with the address "alice@example.com"
Pattern
When(/^(?:I|we) add the identity "([^"]*)" with the address "([^"]*)"$/, …)
Part of @webship-js/roundcube-steps (github.com/webship/roundcube-steps), a step pack for Webship-js 2.0.x.