fix failing cuke - blocking from profile page
This commit is contained in:
parent
5223a2d906
commit
5ff05139a3
2 changed files with 5 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ Feature: Blocking a user from the stream
|
|||
Scenario: Blocking a user from the profile page
|
||||
When I am on the home page
|
||||
And I follow "Alice Smith"
|
||||
When I click on the first block button
|
||||
When I click on the profile block button
|
||||
And I confirm the alert
|
||||
And I am on the home page
|
||||
Then I should not see any posts in my stream
|
||||
|
|
|
|||
|
|
@ -39,6 +39,10 @@ When /^I click on the first block button/ do
|
|||
find(".block_user").click
|
||||
end
|
||||
|
||||
When /^I click on the profile block button/ do
|
||||
find("#profile_buttons .block_user").click
|
||||
end
|
||||
|
||||
When /^I expand the post$/ do
|
||||
expand_first_post
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue