cuprite icon indicating copy to clipboard operation
cuprite copied to clipboard

Timeouts withe system tests when using parallelisation

Open vitobotta opened this issue 4 years ago • 1 comments

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!

vitobotta avatar May 27 '20 16:05 vitobotta

I have the same issue. Any solution?

UPD: Fixed by running assets:precompile before system tests.

bezludny avatar Jun 14 '22 13:06 bezludny