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: a4322618cd35768e5280cd45bb46d016bb30983f (plain)
1
2
3
4
5
6
7
8
9
10
# 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