Assert the value of a field, by its label: its text, the options chosen in a list (several joined by ", "), "Yes" or "No" of a switch, the choice made in a set of choices.
Examples
Then "First Name" should be set to "Webship test"
Then "Active" should be set to "No"
And "Stage" should be set to "Lead"
Then "Internal Name" should be set to "Webship test email"
Then "Storage Location" should be set to "Local"
Pattern
Then(/^"([^"]*)" should be set to "([^"]*)"$/, …)
Part of @webship-js/mautic-steps (github.com/webship/mautic-steps), a step pack for Webship-js 2.0.x.