The identities of Settings > Identities list one ("Name <address>", or a part of it), or do not.
Examples
Then the identities should list "Alice Test <alice@example.com>"
Then the identities should not list "Webship test identity"
And the identities should list "Webship test identity <alice@example.com>"
Then the identities should list "Alice Test"
Then the identities should not list "Alice at work"
Pattern
Then(/^the identities should( not)? list "([^"]*)"$/, …)
Part of @webship-js/roundcube-steps (github.com/webship/roundcube-steps), a step pack for Webship-js 2.0.x.