Assert the profile fields of the administration ("Users", "Profile Fields") list a field in a group of fields ("Base (Primary)", "Work").
Examples
Then the profile fields should list "Location" in "Base (Primary)"
And the profile fields should list "Skills" in "Work"
Then the profile fields should list "Name" in "Base (Primary)"
And the profile fields should list "Website" in "Work"
Then the profile fields should list "About me" in "Base (Primary)"
Pattern
Then(/^the profile fields should list "([^"]*)" in "([^"]*)"$/, …)
Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.