When I add the segment "Newsletter readers" as the source of the campaign

Give the campaign in the builder its source of contacts: "Add a contact source...", "Contact segments", then the segment in the dialog's "Contact segments", then "Add".

Examples

When I add the segment "Newsletter readers" as the source of the campaign
When we add the segment "Amman contacts" as the source of the campaign
And I add the segment "Newsletter readers" as the source of the campaign
When I add the segment "Webship test segment" as the source of the campaign
When I add the segment "Amman contacts" as the source of the campaign

Pattern

When(/^(?:I|we) add the segment "([^"]*)" as the source of the campaign$/, …)

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