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
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
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
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 `d...paul lahana replied
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
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
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
How to create a minitest fixture for a non database model?
Actually... it seems it is auo loading them into the test environment... So, consider this closed :)Simon Moro replied • Solved
Running only a part of a huge (2000+) specs suite
In 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
Simple Test with empty rails fails
Hi everyone, I'm currently trying to create a template for internal Rails development and I just tried the newest Rails 184.108.40.206 and it fails with a simple test: ``` /tmp $ mkdir app-test /t...Andreas Steinel posted
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
guard-minitest runs ALL tests not just the ones for the target file changed
Dan Tappin replied • Solved
rails test attempts to create multiple test databases and fails because it cannot connect
Well, I learned about [Parallel Testing](https://edgeguides.rubyonrails.org/testing.html#parallel-testing) today, a new "feature" of Rails 6. Kinda cool, but probably shouldn't be a default of newl...Ian Burry replied • Solved
Testing and Session Variables
I had a rouge conditional wrapped around my code where I set the enrollment. This fails in testing but passes in production. Tweaked that and now it works fine.Dan Tappin replied • Solved
Failed to Run Localhost because of Run Time Error
I'm getting runtime error whenever I run the localhost. Redis was running but it only loaded the homepage. After about 10 seconds, the server stopped and gave us this error. ``` `__connect_nonblo...firstname.lastname@example.org posted
Accounts middleware and integration tests?
Hi folks — I'm a big fan of the Accounts Middleware pattern introduced about a year ago in this tutorial: https://gorails.com/episodes/rails-active-support-current-attributes Super powerful....Dan Charlesworth posted
Access the request object in a helper in a helper test (minitest)
Thanks Chris!Wout replied • Solved
Issues running System Tests due to missing font?
I have written two system tests for my current application and I have now hit a road block. ``` test "visiting the timesheet index without signing in" do visit timesheets_path ass...Stephen Sizer posted