I think it could be useful to run System Test with multiple browsers when using Selenium, in order to get better testing coverage for different browsers.
For instance if you could put an array of browsers inside the using variable:
require “test_helper”
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
driven_by :selenium, using: [:chrome, :firefox], screen_size: [1000, 1000]
end
That does sound like a useful feature. That would require your test suite to run twice though, is that desirable? If you’d like to implement this feature cc me when you open the PR.
I have tried to find a solution, I think running the test suite twice is possible, could this be good solution though? Downside is that it might be slow to start selenium multiple times?
I cant find where you instantiate system test from when starting it. I am familiar with your code from this PR inside of ActionDispatch. But when rails test:system is entered in the terminal,