Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-09-13 00:43:28 +0300
committerJose Ivan Vargas <jvargas@gitlab.com>2017-09-13 00:43:28 +0300
commit2d58626a33bc0d4e78eaf0c25965d18a6239fa3b (patch)
tree7d03410918ff709ae92a6b3a30c69eb2af5aa554 /spec/support/features
parent41e5ec8f74d9909050d54ae957b09a812a398c8e (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.rb2
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