diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-11-07 08:47:09 -0700 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-11-07 10:27:20 -0700 |
commit | a2e2b11cf596b7c95ba6d7d852cba0aa3f140ed5 (patch) | |
tree | 5f8365f1110bcc36b67f9aaa623a34fafade4b44 | |
parent | d45fef88f7f0aa249893f9f151185eac5b9bb870 (diff) | |
download | gitlab-ce-a2e2b11cf596b7c95ba6d7d852cba0aa3f140ed5.tar.gz |
Fix merge_request_spec
-rw-r--r-- | spec/support/features/discussion_comments_shared_example.rb | 2 |
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 |