Increase Poltergeist timeout in specs
This is to try to avoid flaky js specs in Travis
This commit is contained in:
@@ -26,6 +26,7 @@ end
|
|||||||
|
|
||||||
Capybara.register_driver :poltergeist do |app|
|
Capybara.register_driver :poltergeist do |app|
|
||||||
Capybara::Poltergeist::Driver.new(app,
|
Capybara::Poltergeist::Driver.new(app,
|
||||||
|
timeout: 1.minute,
|
||||||
inspector: true, # allows remote debugging by executing page.driver.debug
|
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_logger: File.open(File::NULL, "w"), # don't print console.log calls in console
|
||||||
phantomjs_options: ['--load-images=no', '--disk-cache=false'],
|
phantomjs_options: ['--load-images=no', '--disk-cache=false'],
|
||||||
|
|||||||
Reference in New Issue
Block a user