capybara-lockstep Show archive.org snapshot can help you with flaky end-to-end tests:
This Ruby gem synchronizes Capybara commands with client-side JavaScript and AJAX requests. This greatly improves the stability of a full-stack integration test suite, even if that suite has timing issues.
Posted by Henning Koch to makandra dev (2021-03-05 22:39)