diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-13 00:43:28 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-13 00:43:28 +0300 |
commit | 2d58626a33bc0d4e78eaf0c25965d18a6239fa3b (patch) | |
tree | 7d03410918ff709ae92a6b3a30c69eb2af5aa554 /spec/support/features | |
parent | 41e5ec8f74d9909050d54ae957b09a812a398c8e (diff) |
Changed helper methods to use the click method
Diffstat (limited to 'spec/support/features')
-rw-r--r-- | spec/support/features/reportable_note_shared_examples.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/features/reportable_note_shared_examples.rb b/spec/support/features/reportable_note_shared_examples.rb index 192a2fed0a8..836e5e7be23 100644 --- a/spec/support/features/reportable_note_shared_examples.rb +++ b/spec/support/features/reportable_note_shared_examples.rb @@ -39,7 +39,7 @@ shared_examples 'reportable note' do |type| end def open_dropdown(dropdown) - dropdown.find('.more-actions-toggle').trigger('click') + dropdown.find('.more-actions-toggle').click dropdown.find('.dropdown-menu li', match: :first) end end |