mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Uncomment out feature steps
This commit is contained in:
parent
cf60397477
commit
f6ba3cf581
@ -9,21 +9,21 @@ Feature: Block a User
|
|||||||
And I am logged in
|
And I am logged in
|
||||||
And we have a selection of categories
|
And we have a selection of categories
|
||||||
|
|
||||||
# Scenario: Block a user
|
Scenario: Block a user
|
||||||
# Given I am on the profile page of the annoying 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
|
When I click on "Block user" from the content menu in the user info box
|
||||||
# And I navigate to my "Blocked users" settings page
|
And I navigate to my "Blocked users" settings page
|
||||||
# Then I can see the following table:
|
Then I can see the following table:
|
||||||
# | Avatar | Name |
|
| Avatar | Name |
|
||||||
# | | Spammy Spammer |
|
| | Spammy Spammer |
|
||||||
|
|
||||||
# Scenario: Block a previously followed user
|
Scenario: Block a previously followed user
|
||||||
# Given I follow the user "Spammy Spammer"
|
Given I follow the user "Spammy Spammer"
|
||||||
# And "Spammy Spammer" wrote a post "Spam Spam Spam"
|
And "Spammy Spammer" wrote a post "Spam Spam Spam"
|
||||||
# When I visit the profile page of the annoying user
|
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
|
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
|
Then the list of posts of this user is empty
|
||||||
# And nobody is following the user profile anymore
|
And nobody is following the user profile anymore
|
||||||
|
|
||||||
Scenario: Posts of blocked users are filtered from search results
|
Scenario: Posts of blocked users are filtered from search results
|
||||||
Given we have the following posts in our database:
|
Given we have the following posts in our database:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user