Fix comment button test for slash commands
This commit is contained in:
parent
fe215dacb8
commit
40d4d6d69a
|
@ -3,7 +3,7 @@ module SlashCommandsHelpers
|
|||
Sidekiq::Testing.fake! do
|
||||
page.within('.js-main-target-form') do
|
||||
fill_in 'note[note]', with: text
|
||||
click_button 'Comment'
|
||||
find('.comment-btn').trigger('click')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue