f0391c2517
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
10 lines
279 B
Ruby
10 lines
279 B
Ruby
# frozen_string_literal: true
|
|
|
|
module NoteInteractionHelpers
|
|
def open_more_actions_dropdown(note)
|
|
note_element = find("#note_#{note.id}")
|
|
|
|
note_element.find('.more-actions-toggle').click
|
|
note_element.find('.more-actions .dropdown-menu li', match: :first)
|
|
end
|
|
end
|