Merge pull request #1364 from medialab-prado/increase-poltergeist-timeout

Increase Poltergeist timeout in specs
This commit is contained in:
Juanjo Bazán
2017-01-20 11:28:31 +01:00
committed by GitHub

View File

@@ -26,6 +26,7 @@ end
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app,
timeout: 1.minute,
inspector: true, # allows remote debugging by executing page.driver.debug
phantomjs_logger: File.open(File::NULL, "w"), # don't print console.log calls in console
phantomjs_options: ['--load-images=no', '--disk-cache=false'],