user_status.feature 1.1 KB

1234567891011121314151617181920
  1. Feature: user_status
  2. Background:
  3. Given using api version "2"
  4. And user "user0" exists
  5. And user "user0" has status "dnd"
  6. Scenario: listing recent user statuses with default settings
  7. Then user statuses for "admin" list "user0" with status "dnd"
  8. Scenario: empty recent user statuses with disabled/limited user enumeration
  9. When parameter "shareapi_allow_share_dialog_user_enumeration" of app "core" is set to "no"
  10. Then user statuses for "admin" are empty
  11. When parameter "shareapi_allow_share_dialog_user_enumeration" of app "core" is set to "yes"
  12. When parameter "shareapi_restrict_user_enumeration_to_group" of app "core" is set to "yes"
  13. Then user statuses for "admin" are empty
  14. When parameter "shareapi_restrict_user_enumeration_to_group" of app "core" is set to "no"
  15. When parameter "shareapi_restrict_user_enumeration_to_phone" of app "core" is set to "yes"
  16. Then user statuses for "admin" are empty
  17. When parameter "shareapi_restrict_user_enumeration_to_phone" of app "core" is set to "no"
  18. Then user statuses for "admin" list "user0" with status "dnd"