ea090291bb
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070 Deprecate "chat commands" in favor of "slash commands" We looked for things like: - `slash commmand` - `slash_command` - `slash-command` - `SlashCommand`
10 lines
253 B
Ruby
10 lines
253 B
Ruby
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').trigger('click')
|
|
end
|
|
end
|
|
end
|
|
end
|