fixed some cukes
This commit is contained in:
parent
07f713f46c
commit
1ac5c7af62
4 changed files with 5 additions and 5 deletions
|
|
@ -10,6 +10,7 @@ Feature: Blocking a user from the stream
|
|||
Scenario: Blocking a user
|
||||
When I sign in as "bob@bob.bob"
|
||||
And I am on the home page
|
||||
And I preemptively confirm the alert
|
||||
And I wait for the ajax to finish
|
||||
When I click on the first block button
|
||||
And I am on the home page
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ Feature: commenting
|
|||
And I preemptively confirm the alert
|
||||
And I click to delete the first comment
|
||||
And I wait for the ajax to finish
|
||||
And I wait for 2 seconds
|
||||
Then I should not see "is that a poodle?"
|
||||
|
||||
Scenario: expand the comment form in the main stream and an individual aspect stream
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ And /^I hover over the "([^"]+)"$/ do |element|
|
|||
end
|
||||
|
||||
When /^I click to delete the first post$/ do
|
||||
page.execute_script('$(".stream_element").first().find(".stream_element_delete").first().click()')
|
||||
page.execute_script('$(".stream_element").first().find(".remove_post").first().click()')
|
||||
end
|
||||
|
||||
When /^I click to delete the first comment$/ do
|
||||
|
|
|
|||
|
|
@ -32,5 +32,5 @@ When /^The user deletes their first post$/ do
|
|||
end
|
||||
|
||||
When /^I click on the first block button/ do
|
||||
find(".block_button").click
|
||||
find(".block_user").click
|
||||
end
|
||||
Loading…
Reference in a new issue