Maybe...we're not waiting long enough on CI? It is a very slow box.
This commit is contained in:
parent
6974b205a1
commit
088e2dfdb4
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ Then /^the "([^"]*)" field(?: within "([^"]*)")? should be filled with "([^"]*)"
|
|||
end
|
||||
|
||||
Then /^I should see (\d+) posts$/ do |n_posts|
|
||||
all("#main_stream .stream_element").length.should == n_posts.to_i
|
||||
wait_until(10) { all("#main_stream .stream_element").length == n_posts.to_i }
|
||||
end
|
||||
|
||||
And /^I scroll down$/ do
|
||||
|
|
|
|||
Loading…
Reference in a new issue