debian-mirror-gitlab/spec/support/quick_actions_helpers.rb

11 lines
242 B
Ruby
Raw Normal View History

2017-09-10 17:25:29 +05:30
module QuickActionsHelpers
2016-09-29 09:46:39 +05:30
def write_note(text)
Sidekiq::Testing.fake! do
page.within('.js-main-target-form') do
fill_in 'note[note]', with: text
2018-03-17 18:26:18 +05:30
find('.js-comment-submit-button').click
2016-09-29 09:46:39 +05:30
end
end
end
end