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 <coolo@suse.de>
This commit is contained in:
parent
e3726c776e
commit
9e1b214c60
1 changed files with 2 additions and 0 deletions
|
|
@ -60,6 +60,8 @@ RSpec.configure do |config|
|
||||||
# --seed 1234
|
# --seed 1234
|
||||||
config.order = 'random'
|
config.order = 'random'
|
||||||
|
|
||||||
|
Capybara.disable_animation = true
|
||||||
|
|
||||||
Capybara.register_driver :firefox do |app|
|
Capybara.register_driver :firefox do |app|
|
||||||
Capybara::Selenium::Driver.new(app, browser: :firefox)
|
Capybara::Selenium::Driver.new(app, browser: :firefox)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue