BigW Consortium Gitlab

Commit 40d4d6d6 by Annabel Dunstone Gray

Fix comment button test for slash commands

parent fe215dac
...@@ -3,7 +3,7 @@ module SlashCommandsHelpers ...@@ -3,7 +3,7 @@ module SlashCommandsHelpers
Sidekiq::Testing.fake! do Sidekiq::Testing.fake! do
page.within('.js-main-target-form') do page.within('.js-main-target-form') do
fill_in 'note[note]', with: text fill_in 'note[note]', with: text
click_button 'Comment' find('.comment-btn').trigger('click')
end end
end 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