Assert that a contact has a tag (the "Tags" of its page), or does not.
Examples
Then the contact "Lina Haddad" should have the tag "newsletter"
Then the contact "Sara Khalil" should not have the tag "newsletter"
And the contact "Omar Saleh" should have the tag "vip"
Then the contact "webship-test-signup@example.com" should have the tag "newsletter"
Then the contact "Maya Nasser" should not have the tag "vip"
Pattern
Then(/^the contact "([^"]*)" should( not)? have the tag "([^"]*)"$/, …)
Part of @webship-js/mautic-steps (github.com/webship/mautic-steps), a step pack for Webship-js 2.0.x.