From a4257a70e5491f70d85b39ae2bb532824a7a3108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= <develop@manuel-voegele.de> Date: Sun, 3 Jan 2016 12:42:49 +0100 Subject: [PATCH] Wait for spinner to disappear before checking for posts in the stream closes #6615 --- features/step_definitions/posts_steps.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/features/step_definitions/posts_steps.rb b/features/step_definitions/posts_steps.rb index bb353b9e03..dd0a725c0e 100644 --- a/features/step_definitions/posts_steps.rb +++ b/features/step_definitions/posts_steps.rb @@ -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 -- GitLab