Assert that a contact is in a segment (the "Segments" of its page), or is not.
Examples
Then the contact "Lina Haddad" should be in the segment "Newsletter readers"
Then the contact "Sara Khalil" should not be in the segment "Newsletter readers"
And the contact "Maya Nasser" should be in the segment "Amman contacts"
Then the contact "Omar Saleh" should not be in the segment "Amman contacts"
Then the contact "Karim Aziz" should not be in the segment "Amman contacts"
Pattern
Then(/^the contact "([^"]*)" should( not)? be in the segment "([^"]*)"$/, …)
Part of @webship-js/mautic-steps (github.com/webship/mautic-steps), a step pack for Webship-js 2.0.x.