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

note_interaction_helpers.rb « helpers « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 79a0aa174b1b222637909cd1e4b00b9193ab2a00 (plain)
1
2
3
4
5
6
7
8
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