Skip to content

Instantly share code, notes, and snippets.

@tisto
Created June 5, 2015 15:10
Show Gist options
  • Save tisto/5be41702c643b2629e5b to your computer and use it in GitHub Desktop.
Save tisto/5be41702c643b2629e5b to your computer and use it in GitHub Desktop.
Scenario: As a manager I can add a new field to the user form
Given a logged-in manager
When I add a new text-line field 'office_name' to the member fields
Then a field 'office_name' appears in the user profile form
Manager can edit the user schema
Given I'm logged in as a 'Manager'
then I go to Member fields editor
and I add a new Text line (String) field 'office_name'
and I do not see the 'office_name' field in user form
and I make 'office_name' field appear In User Profile form
and I see the 'office_name' field in user form
and I do not see the 'office_name' field in registration form
and I make 'office_name' field appear On Registration form
and I see the 'office_name' field in registration form
and I make the 'office_name' field required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment