diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-12 16:43:28 -0500 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-12 16:43:28 -0500 |
commit | 2d58626a33bc0d4e78eaf0c25965d18a6239fa3b (patch) | |
tree | 7d03410918ff709ae92a6b3a30c69eb2af5aa554 /spec/support/helpers | |
parent | 41e5ec8f74d9909050d54ae957b09a812a398c8e (diff) | |
download | gitlab-ce-2d58626a33bc0d4e78eaf0c25965d18a6239fa3b.tar.gz |
Changed helper methods to use the click method
Diffstat (limited to 'spec/support/helpers')
-rw-r--r-- | spec/support/helpers/note_interaction_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/note_interaction_helpers.rb b/spec/support/helpers/note_interaction_helpers.rb index 86008698692..79a0aa174b1 100644 --- a/spec/support/helpers/note_interaction_helpers.rb +++ b/spec/support/helpers/note_interaction_helpers.rb @@ -2,7 +2,7 @@ module NoteInteractionHelpers def open_more_actions_dropdown(note) note_element = find("#note_#{note.id}") - note_element.find('.more-actions-toggle').trigger('click') + note_element.find('.more-actions-toggle').click note_element.find('.more-actions .dropdown-menu li', match: :first) end end |