Skip to content

A platform for community discussion. Free, open, simple.

DEV: Disable animation in system tests (#21821)

Alan Guo Xiang Tanb580f04d34c6
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 0943af64f36..4dd001c1f63 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -251,7 +251,7 @@ RSpec.configure do |config|
end
Capybara.threadsafe = true
- Capybara.disable_animation = false
+ Capybara.disable_animation = true
# Click offsets is calculated from top left of element
Capybara.w3c_click_offset = false