DEV Community

Cover image for Fix Flaky Rails System Tests caused by slow scrolling or animations
Konstantin Filtschew
Konstantin Filtschew

Posted on

Fix Flaky Rails System Tests caused by slow scrolling or animations

Flakiness on browser-based system tests (integration tests) in Ruby on Rails may have a lot of different reasons. One is scrolling, which may be slowed down by browser setup (smooth scrolling), JavaScript callbacks which result in some kind of events like for animations, etc.

Such problems are not Ruby on Rails related and even not a programming language. They are mostly not related to a single browser like Google Chrome, Chromium, and Firefox only. They are also not browser driver specific like Selenium or Cuprite. Let’s dive in and check, how to analyze them, and figure out and try fix such problems.

Read the full article here at qameta.com: Fix Flaky Rails System Tests caused by slow scrolling or animations

Top comments (0)