diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-01-26 11:06:17 -0600 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-02-10 15:09:08 -0600 |
commit | 40d4d6d69a3d811d13e9c5c2c2437eeda713ad1f (patch) | |
tree | 66c424399d604700a3e2de31dbf318c71194a5e7 /spec/support | |
parent | fe215dacb823d022096264e2dfa31f11d0b1e670 (diff) | |
download | gitlab-ce-40d4d6d69a3d811d13e9c5c2c2437eeda713ad1f.tar.gz |
Fix comment button test for slash commands
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/slash_commands_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/slash_commands_helpers.rb b/spec/support/slash_commands_helpers.rb index df483afa0e3..0d91fe5fd5d 100644 --- a/spec/support/slash_commands_helpers.rb +++ b/spec/support/slash_commands_helpers.rb @@ -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 |