blob: 40f1f6fe6f38f9db5d54003081df234b43ad2b84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
module NoteInteractionHelpers
include MergeRequestDiffHelpers
def open_more_actions_dropdown(note)
note_element = find_by_scrolling("#note_#{note.id}")
note_element.find('.more-actions-toggle').click
note_element.find('.more-actions li', match: :first)
end
end
|