Guest User

Untitled

a guest
May 26th, 2018
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. Feature: View Users
  2. In order for system to support management of users
  3. I should be able to view all existing users in the system
  4.  
  5. Scenario: See "No Record(s) Found"
  6. Given no user exists in the system
  7. When I go to /users
  8. Then I should see "Manage Users" page
  9. And I should see empty list displaying "No Record(s) Found"
  10.  
  11. Scenario: See all Existing Users
  12. Given the following users exist in the system:
  13. | name | email | status |
  14. | Mary | abc@abc.com | active |
  15. | Jane | bcd@bcd.org | active |
  16. | Dennis | efg@efg.info | archived |
  17. When I go to /users
  18. Then I should see "Manage Users" page
  19. And I should see 3 users
  20. And I should see all users sorted by name
  21. And I should see Dennis having "Name*" as "Dennis"
  22. And I should see Dennis having "Email*" as "efg@efg.info"
  23. And I should see Dennis having "Status" as "archived"
  24. And I should see Dennis decorated as "archived"
  25. And I should see Jane having "Name*" as "Jane"
  26. And I should see Jane having "Email*" as "bcd@bcd.org"
  27. And I should see Jane having "Status" as "active"
  28. And I should see Jane decorated as "active"
  29. And I should see Mary having "Name*" as "Mary"
  30. And I should see Mary having "Email*" as "abc@abc.com"
  31. And I should see Mary having "Status" as "active"
  32. And I should see Mary decorated as "active"
Add Comment
Please, Sign In to add comment