When I set "First Name" to "Webship test"

Set a field by its label (letter case and the required mark aside), the way its kind needs: a text in a text field or the rich text editor, an option of a list ("Stage", "Category", "Contact owner"), "Yes" or "No" of a switch ("Active", "Available for use"), one of a set of choices. A field in a tab that is not shown gets its tab opened.

Examples

When I set "First Name" to "Webship test"
When I set "Name" to "Webship test segment"
And I set "Stage" to "Lead"
When I set "Active" to "Yes"
When we set "Redirect URL/Message" to "Thank you for signing up."

Pattern

When(/^(?:I|we) set "([^"]*)" to "([^"]*)"$/, …)

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