Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: View Users
- In order for system to support management of users
- I should be able to view all existing users in the system
- Scenario: See "No Record(s) Found"
- Given no user exists in the system
- When I go to /users
- Then I should see "Manage Users" page
- And I should see empty list displaying "No Record(s) Found"
- Scenario: See all Existing Users
- Given the following users exist in the system:
- | name | email | status |
- | Mary | abc@abc.com | active |
- | Jane | bcd@bcd.org | active |
- | Dennis | efg@efg.info | archived |
- When I go to /users
- Then I should see "Manage Users" page
- And I should see 3 users
- And I should see all users sorted by name
- And I should see Dennis having "Name*" as "Dennis"
- And I should see Dennis having "Email*" as "efg@efg.info"
- And I should see Dennis having "Status" as "archived"
- And I should see Dennis decorated as "archived"
- And I should see Jane having "Name*" as "Jane"
- And I should see Jane having "Email*" as "bcd@bcd.org"
- And I should see Jane having "Status" as "active"
- And I should see Jane decorated as "active"
- And I should see Mary having "Name*" as "Mary"
- And I should see Mary having "Email*" as "abc@abc.com"
- And I should see Mary having "Status" as "active"
- And I should see Mary decorated as "active"
Add Comment
Please, Sign In to add comment