summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/support/features/discussion_comments_shared_example.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/features/discussion_comments_shared_example.rb b/spec/support/features/discussion_comments_shared_example.rb
index cc8002fde0d..ee088bdbba9 100644
--- a/spec/support/features/discussion_comments_shared_example.rb
+++ b/spec/support/features/discussion_comments_shared_example.rb
@@ -74,6 +74,9 @@ shared_examples 'discussion comments' do |resource_name|
find(toggle_selector).click
find('body').click
+ # Test theory
+ sleep 3
+
expect(page).not_to have_selector menu_selector
end