diff options
| -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 | 
