Commit 40d4d6d6 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix comment button test for slash commands

parent fe215dac
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment