mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Improve English, update case for English translations
This commit is contained in:
parent
31299235a3
commit
6099a986c9
@ -1,36 +1,36 @@
|
||||
Feature: Block a User
|
||||
As a user
|
||||
I'd like to have a button to block another user
|
||||
To prevent him to see and interact with my contributions and also to avoid to see his/her posts
|
||||
To prevent him from seeing and interacting with my contributions and also to avoid seeing his/her posts
|
||||
|
||||
Background:
|
||||
Given I have a user account
|
||||
And there is an annoying user called "Spammy Spammer"
|
||||
And I am logged in
|
||||
|
||||
Scenario: Block a user
|
||||
Given I am on the profile page of the annoying user
|
||||
When I click on "Block User" from the content menu in the user info box
|
||||
And I navigate to my "Blocked users" settings page
|
||||
Then I can see the following table:
|
||||
| Avatar | Name |
|
||||
| | Spammy Spammer |
|
||||
Scenario: Block a user
|
||||
Given I am on the profile page of the annoying user
|
||||
When I click on "Block User" from the content menu in the user info box
|
||||
And I navigate to my "Blocked users" settings page
|
||||
Then I can see the following table:
|
||||
| Avatar | Name |
|
||||
| | Spammy Spammer |
|
||||
|
||||
Scenario: Block a previously followed user
|
||||
Given I follow the user "Spammy Spammer"
|
||||
And "Spammy Spammer" wrote a post "Spam Spam Spam"
|
||||
When I visit the profile page of the annoying user
|
||||
And I click on "Block User" from the content menu in the user info box
|
||||
Then the list of posts of this user is empty
|
||||
And nobody is following the user profile anymore
|
||||
Scenario: Block a previously followed user
|
||||
Given I follow the user "Spammy Spammer"
|
||||
And "Spammy Spammer" wrote a post "Spam Spam Spam"
|
||||
When I visit the profile page of the annoying user
|
||||
And I click on "Block User" from the content menu in the user info box
|
||||
Then the list of posts of this user is empty
|
||||
And nobody is following the user profile anymore
|
||||
|
||||
Scenario: Posts of blocked users are filtered from search results
|
||||
Given "Spammy Spammer" wrote a post "Spam Spam Spam"
|
||||
When I search for "Spam"
|
||||
Then I should see the following posts in the select dropdown:
|
||||
| title |
|
||||
| Spam Spam Spam |
|
||||
When I block the user "Spammy Spammer"
|
||||
And I refresh the page
|
||||
And I search for "Spam"
|
||||
Then the search has no results
|
||||
Scenario: Posts of blocked users are filtered from search results
|
||||
Given "Spammy Spammer" wrote a post "Spam Spam Spam"
|
||||
When I search for "Spam"
|
||||
Then I should see the following posts in the select dropdown:
|
||||
| title |
|
||||
| Spam Spam Spam |
|
||||
When I block the user "Spammy Spammer"
|
||||
And I refresh the page
|
||||
And I search for "Spam"
|
||||
Then the search has no results
|
||||
|
||||
@ -1,22 +1,22 @@
|
||||
Feature: Block a User
|
||||
As a user
|
||||
I'd like to have a button to block another user
|
||||
To prevent him to see and interact with my contributions and also to avoid to see his/her posts
|
||||
To prevent him from seeing and interacting with my contributions and also to avoid seeing his/her posts
|
||||
|
||||
Background:
|
||||
Given I have a user account
|
||||
And there is an annoying user called "Spammy Spammer"
|
||||
|
||||
Scenario Outline: Blocked users cannot see each others posts
|
||||
Given "Spammy Spammer" wrote a post "Spam Spam Spam"
|
||||
And I wrote a post "I hate spammers"
|
||||
And I block the user "Spammy Spammer"
|
||||
When I log in with:
|
||||
| Email | Password |
|
||||
| <email> | <password> |
|
||||
Then I see only one post with the title "<expected_title>"
|
||||
Examples:
|
||||
| email | password | expected_title |
|
||||
| peterpan@example.org | 1234 | I hate spammers |
|
||||
| spammy-spammer@example.org | 1234 | Spam Spam Spam |
|
||||
Scenario Outline: Blocked users cannot see each others posts
|
||||
Given "Spammy Spammer" wrote a post "Spam Spam Spam"
|
||||
And I wrote a post "I hate spammers"
|
||||
And I block the user "Spammy Spammer"
|
||||
When I log in with:
|
||||
| Email | Password |
|
||||
| <email> | <password> |
|
||||
Then I see only one post with the title "<expected_title>"
|
||||
Examples:
|
||||
| email | password | expected_title |
|
||||
| peterpan@example.org | 1234 | I hate spammers |
|
||||
| spammy-spammer@example.org | 1234 | Spam Spam Spam |
|
||||
|
||||
|
||||
@ -199,7 +199,6 @@
|
||||
"search": "Posts of blocked people disappear from your search results.",
|
||||
"notifications": "Blocked users will no longer receive notifications if they are mentioned in your posts.",
|
||||
"closing": "This should be sufficient for now so that blocked users can no longer bother you."
|
||||
|
||||
},
|
||||
"columns": {
|
||||
"name": "Name",
|
||||
@ -207,8 +206,8 @@
|
||||
},
|
||||
"empty": "So far, you have not blocked anybody.",
|
||||
"how-to": "You can block other users on their profile page via the content menu.",
|
||||
"block": "Block User",
|
||||
"unblock": "Unblock User"
|
||||
"block": "Block user",
|
||||
"unblock": "Unblock user"
|
||||
}
|
||||
},
|
||||
"admin": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user