cuprite
cuprite copied to clipboard
Timeouts withe system tests when using parallelisation
Hi! I just discovered this gem so I am trying to replace Selenium with it since I've read that this is faster :)
I am having a problem with system tests in Rails 6 randomly failing with
Ferrum::TimeoutError: Timed out waiting for response. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the :timeout option to a higher value might help.
if I enable parallelisation. If I set PARALLEL_WORKERS=1
so to disable parallelisation, tests pass consistently.
Is there a workaround/fix? Thanks!
I have the same issue. Any solution?
UPD: Fixed by running assets:precompile
before system tests.