1
0

access-levels.feature 1.1 KB

1234567891011121314151617181920212223
  1. Feature: access-levels
  2. Scenario: regular users cannot see admin-level items in the Settings menu
  3. Given I am logged in
  4. When I open the Settings menu
  5. Then I see that the Settings menu is shown
  6. And I see that the "Settings" item in the Settings menu is shown
  7. And I see that the "Users" item in the Settings menu is not shown
  8. And I see that the "Help" item in the Settings menu is shown
  9. And I see that the "Log out" item in the Settings menu is shown
  10. Scenario: regular users cannot see admin-level items on the Settings page
  11. Given I am logged in
  12. When I visit the settings page
  13. Then I see that the "Personal info" entry in the settings panel is shown
  14. And I see that the "Personal" settings panel is not shown
  15. And I see that the "Administration" settings panel is not shown
  16. Scenario: admin users can see admin-level items on the Settings page
  17. Given I am logged in as the admin
  18. When I visit the admin settings page
  19. Then I see that the "Personal" settings panel is shown
  20. And I see that the "Administration" settings panel is shown