From 9e1b214c604982239e9d74d661f1818eca15e665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=20Mar=C3=ADa=20Mart=C3=ADnez=20G=C3=B3mez?= Date: Fri, 15 Mar 2019 15:27:09 +0100 Subject: [PATCH] Disable capybara animation Turn off jquery animation to avoid tests with animations to fail and make tests easy to debug. Co-authored-by: Stephan Kulow --- spec/spec_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d568235e..82d0a75a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -60,6 +60,8 @@ RSpec.configure do |config| # --seed 1234 config.order = 'random' + Capybara.disable_animation = true + Capybara.register_driver :firefox do |app| Capybara::Selenium::Driver.new(app, browser: :firefox) end