Setup Searchkick with Minitest
Hi everyone,
Just followed the searchkick official's docs to setup the tests, so that I can test my search controller:
Let's assume I have the following model:
```
class User < ApplicationR...
Patrício
posted
1
Testing
Test some simple javascript with Minitest and Capybara
I'm seeking assistance on testing JavaScript that executes on the response page after a POST request.
So I have something like this
```ruby
class YourControllerTest < ActionDispatch::Integrati...
Jesper
posted
1
Testing
Rails 7.1 Authentication From Scratch - Test Helpers
For controller & integration tests, you'll make a POST request to log the user in:
```ruby
class ActiveSupport::TestCase
def login(user, password: "password")
post login_path, params: {
...
Chris Oliver
replied
2
Testing
How To Wrte good bug report for Manual Testing?
A bug report is very easy to write. But what should be the column for bug reports?
Ashutoshkumar
posted
1
Testing
How can I test sortableJs ? (RSpec)
I made a drag and drop to-do-list with SortableJs and i'm trying to test the drag-n-drop with RSpec/Selenium/Capybara if the request is sent onEnd.
I'm able to do the drag n drop using selenium `dr...
paul lahana
posted
1
Testing
Can anyone point me in the direction of some good RSpec tutorials?
Go to tutorialspoint
Dave White
replied
4
Testing
How do I test the order of elements on a rails app page with Rspec / Capybara?
Micheal Waldrup
replied
2
Testing
Accessing The Rails test.key on GitHub Actions
I have credential files and keys for production, development, and test. Meaning I have no master.key file.
How do I then access my test.key using GitHub actions?
Using these approaches does not w...
Brian Gilbank
posted
1
Testing
How do I show the keyboard in a web console on an i[Phone|Pad]
Hi all,
so I know how I can _allow displaying the web console_ on a mobile device (iPhone or iPad in my case) by putting
```
config.web_console.whitelisted_ips = %w(0.0.0.0/0 ::/0)
```
in `confi...
Stephan Kämper
posted
1
Testing
How do I find on an object in an api/v1/controller requested spec?
Hi there, this my first question =), am so happy!.... =)
I have a this:
RSpec.describe Api::V1::Controller, type: :request do
describe 'on initialize' do
let(:thing) { FactoryBo...
Diego Mota
posted
1
Testing
Warden and System Tests are driving me insane.
I was trying to use "driven_by :rack_test" when changing to driven_by :selenium_chrome_headless it works as expected.
Niklas Nson
replied
•
Solved
3
Testing
How do I fix Github Action test error caused by "DevToolsActivePort file doesn't exist"?
Hey - I have a Github Action test file as below. When I run the CI, the system tests which use Selenium WebDriver do not pass. The following error occurs:
```
Selenium::WebDriver::Error::UnknownE...
Christopher Lam
posted
1
Testing
Ruby on Rails 5.1 & Vue.js 2.4.x – Testing with Karma, Jasmine – How to install? [bounty on stackoverflow]
I updated my Question on [stackoverflow](https://stackoverflow.com/questions/46194455/ruby-on-rails-5-1-vue-js-2-4-x-testing-with-karma-jasmine-how-to-install) and added a **bounty**
Pascal K
replied
2
Testing
Rails 6 basics issue
Rails comes with the webdrivers gem now and you should use that now. It makes things a lot easier. In fact, there's nothing you have to setup other than just installing the gem (unless you want to ...
Chris Oliver
replied
2
Testing
RSpec w/capybara vs Mini Test
@sweedledee there's not a lot of good examples out there! I did a lot of the [Testing Rails series](https://gorails.com/series/testing-ruby-on-rails) in Minitest which is a start. The Rails test su...
Chris Oliver
replied
7
Testing
How to start with parallel testing in local as well as with travis CI?
I want to use parallel testing to reduce the build time.
mikkycoder
replied
2
Testing