Assert the registration form asks (or does not ask) for a field, by its label ("Username (required)", "Name").
Examples
Then the registration form should ask for "Username"
And the registration form should ask for "Email Address"
Then the registration form should ask for "Name (required)"
And the registration form should not ask for "Location"
Then the registration form should ask for "Choose a Password"
Pattern
Then(/^the registration form should( not)* ask for "([^"]*)"$/, …)
Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.