Advertisement
Guest User

Untitled

a guest
Mar 12th, 2019
1,135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. Feature: Block accounts from subscriptions
  2. As a Mastodon user, I want to reduce the amount of harassment I face.
  3. To do so, I want to be able to mute or block accounts that I have
  4. already been muted or blocked by people I trust.
  5.  
  6. Background:
  7. Given alice@example.org is sharing her block list
  8. And beth@example.org is sharing her block list
  9. And I am subscribed to alice@example.org block list
  10.  
  11. Scenario: Block accounts according to my current subscription
  12. When alice@example.org blocks blocked@example.org
  13. Then Mastodon should block blocked@example.org for me
  14.  
  15. Scenario: Block accounts when I subscribe to a new block list
  16. Given beth@example.org is blocking annoying@example.org
  17. When I subscribe to beth@example.org block list
  18. Then Mastodon should block annoying@example.org for me
  19.  
  20. Scenario: Unblock accounts when I unsubscribe from a block list
  21. Given alice@example.org is blocking annoying@example.org
  22. When I unsubscribe from alice@example.org block list
  23. Then Mastodon should not block annoying@example.org for me
  24.  
  25. Scenario: Add unblocked accounts to whitelist
  26. Given alice@example.org is blocking ambiguous@example.org
  27. When I unblock ambiguous@example.org
  28. Then Mastodon should not block ambiguous@example.org for me
  29.  
  30. Scenario: Whitelisted accounts should stay across subscriptions
  31. Given ambiguous@example.org is on my whitelist
  32. And beth@example.org is blocking ambiguous@example.org
  33. When I subscribe to beth@example.org
  34. Then Mastodon should not block ambiguous@example.org for me
  35.  
  36. Scenario: Whitelisted account should still be blockable
  37. Given ambiguous@example.org is on my whitelist
  38. When I finally decide to block ambiguous@example.org
  39. Then Mastodon should block ambiguous@example.org for me
  40.  
  41. Scenario: Accounts I follow should not get blocked by subscriptions
  42. Given I follow friend@example.org
  43. When alice@example.org blocks friend@example.org
  44. Then Mastodo should not block friend@example.org for me
  45.  
  46. Scenario: What I block stays blocked
  47. Given I block ambiguous@example.org
  48. And alice@example.org is blocking ambiguous@example.org
  49. When alice@example.org unblocks ambiguous@example.org
  50. Then Mastodon should still block ambiguous@example.org for me
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement