Logo: Relish

  1. Sign in

Project: Hotel

Super admin adds admin user

Scenarios
Super admin creates user
Given
a super admin
And
I am signed in
And
I am managing users
When
I follow "add a user"
And
I fill in the following:
Email [email protected]
First Name Bob
Last Name Dobbs
Password passwordy
Password Confirmation passwordy
And
I select "role" from "Role"
And
I click "add user"
Then
I should see "Successfully created user account."
And
I should see the following table:
Role Name Email
role Bob Dobbs [email protected]
Examples:
role
Admin
CSR
Cancelling the create
Given
a super admin
And
I am signed in
And
I am managing users
When
I follow "add a user"
And
I follow "cancel"
Then
I should be on the users page

Last published over 5 years ago by Faraaz Khan.