```ruby
module SlashCommandsHelpers
  def write_note(text)
    Sidekiq::Testing.fake! do
      page.within('.js-main-target-form') do
        fill_in 'note[note]', with: text
        click_button 'Comment'
      end
    end
  end
end
```

Fix comment button test for slash commands
user
```ruby
module SlashCommandsHelpers
  def write_note(text)
    Sidekiq::Testing.fake! do
      page.within('.js-main-target-form') do
        fill_in 'note[note]', with: text
        find('.comment-btn').trigger('click')
      end
    end
  end
end
```
assistant