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 postedHi 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 postedI'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 postedFor 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 repliedA bug report is very easy to write. But what should be the column for bug reports?
Ashutoshkumar postedI 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 postedGo to tutorialspoint
Dave White repliedI 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 postedHi 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 postedHi 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 postedI was trying to use "driven_by :rack_test" when changing to driven_by :selenium_chrome_headless it works as expected.
Niklas Nson replied • SolvedHey - 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 postedI 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 repliedRails 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@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 repliedI want to use parallel testing to reduce the build time.
mikkycoder repliedActually... it seems it is auo loading them into the test environment... So, consider this closed :)
Simon Moro replied • SolvedIn addition to what Axel wrote earlier, you could also add a `focus`-tag to specific cases, should you only want to test them individually. It works like so: ``` # specs/discount_checkout_spec.rb ...
karatepicke replied