Commit a4257a70 authored by Manuel Vögele's avatar Manuel Vögele Committed by Jonne Haß

Wait for spinner to disappear before checking for posts in the stream

closes #6615
parent b1f7a452
......@@ -15,6 +15,7 @@ Then /^I should not see an uploaded image within the photo drop zone$/ do
end
Then /^I should not see any posts in my stream$/ do
page.assert_selector("#paginate .loader", visible: :hidden)
page.assert_selector(".stream_element", count: 0)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment