diff options
author | Rémy Coutable <remy@rymai.me> | 2017-11-07 18:49:59 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-11-07 18:49:59 +0000 |
commit | 3a8cf27674341e345bcbb823506f350849178ed7 (patch) | |
tree | bbf9a5f8586858506ee8a9228c6b0a545505d725 /spec | |
parent | d9a1dc3ddd3f491fb3ed922c0b85819e9fa95fea (diff) | |
parent | a2e2b11cf596b7c95ba6d7d852cba0aa3f140ed5 (diff) | |
download | gitlab-ce-3a8cf27674341e345bcbb823506f350849178ed7.tar.gz |
Merge branch 'fix-comments-spec' into 'master'
Fix merge_request_spec
See merge request gitlab-org/gitlab-ce!15250
Diffstat (limited to '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 |