summaryrefslogtreecommitdiff
path: root/spec/support/features
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-11-07 08:47:09 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-11-07 10:27:20 -0700
commita2e2b11cf596b7c95ba6d7d852cba0aa3f140ed5 (patch)
tree5f8365f1110bcc36b67f9aaa623a34fafade4b44 /spec/support/features
parentd45fef88f7f0aa249893f9f151185eac5b9bb870 (diff)
downloadgitlab-ce-a2e2b11cf596b7c95ba6d7d852cba0aa3f140ed5.tar.gz
Fix merge_request_spec
Diffstat (limited to 'spec/support/features')
-rw-r--r--spec/support/features/discussion_comments_shared_example.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/features/discussion_comments_shared_example.rb b/spec/support/features/discussion_comments_shared_example.rb
index aabc64d972b..c24940393f9 100644
--- a/spec/support/features/discussion_comments_shared_example.rb
+++ b/spec/support/features/discussion_comments_shared_example.rb
@@ -71,7 +71,7 @@ shared_examples 'discussion comments' do |resource_name|
expect(page).not_to have_selector menu_selector
find(toggle_selector).click
- find('body').click
+ execute_script("document.querySelector('body').click()")
expect(page).not_to have_selector menu_selector
end