f0391c2517
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
12 lines
273 B
Ruby
12 lines
273 B
Ruby
# frozen_string_literal: true
|
|
|
|
module QuickActionsHelpers
|
|
def write_note(text)
|
|
Sidekiq::Testing.fake! do
|
|
page.within('.js-main-target-form') do
|
|
fill_in 'note[note]', with: text
|
|
find('.js-comment-submit-button').click
|
|
end
|
|
end
|
|
end
|
|
end
|