summaryrefslogtreecommitdiff
path: root/spec/support/helpers/note_interaction_helpers.rb
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2017-08-28 15:03:33 +1000
committerSimon Knox <psimyn@gmail.com>2017-08-28 16:38:26 +1000
commitbcd2135e08fea5193b0ed9960cd96fab6e7015a4 (patch)
tree95ab8823a44d9fc7598f15a016e6b65b7db65e06 /spec/support/helpers/note_interaction_helpers.rb
parentef8eb3f6f7c1af167017ecc854e9fe385cee9354 (diff)
downloadgitlab-ce-bcd2135e08fea5193b0ed9960cd96fab6e7015a4.tar.gz
fix transient test failures caused by wrong dropdown triggerfix-flakes
Diffstat (limited to 'spec/support/helpers/note_interaction_helpers.rb')
-rw-r--r--spec/support/helpers/note_interaction_helpers.rb2
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 551c759133c..86008698692 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').click
+ note_element.find('.more-actions-toggle').trigger('click')
note_element.find('.more-actions .dropdown-menu li', match: :first)
end
end