Logo: Relish

  1. Sign in

Project: Recruit

Administer Website Users

So that access to the site can be controlled
As a valid users
I want to create, edit, and update users in to the site

Scenarios
Given
A user is logged in as "joe"
And
I am on users
When
I follow "New User"
Then
I should see "Create a New User"
Given
A user is logged in as "joe"
When
I go to newuser
Then
I should see "Create a New User"
Create New User
Given
A user is logged in as "joe"
And
I am on newuser
When
I fill in "user_first_name" with "fname"
And
I fill in "user_last_name" with "lname"
And
I fill in "user_password" with "password"
And
I fill in "user_password_confirmation" with "password_confirmation"
And
I fill in "user_email" with "email"
And
I select "role" from "user_role"
And
I press "Submit"
Then
I should see "message"
Examples:
fname lname email password password_confirmation role message notes
lname1 [email protected] ne1home ne1home Admin First name can't be blank Blank First Name test
fname1 ne1home ne1home Admin Last name can't be blank Blank Last Name test
fname1 lname1 ne1home ne1home Admin Email can't be blank Blank Email test
fname1 lname1 [email protected] ne1home Admin Password can't be blank Blank Password test
fname1 lname1 [email protected] ne1home ne1home2 Admin Password doesn't match confirmation Mismatch password test
fname1 lname1 [email protected] ne1home ne1home Admin Email is already taken Email taken test
fname1 lname1 [email protected] ne1home ne1home Admin [email protected] Successful Admin user saved
fname2 lname2 [email protected] ne1home ne1home Resource [email protected] Successful Resource user saved
fname3 lname3 [email protected] ne1home ne1home Coordinator [email protected] Successful Coordinator user saved

Last published over 6 years ago by Shawn Wallace.