mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add commented-out code for debugging specs that are otherwise thwarted by poltergeist's timeout
This commit is contained in:
@@ -32,6 +32,12 @@ ActiveRecord::Fixtures.create_fixtures(fixtures_dir, ['spree/states', 'spree/cou
|
||||
require 'capybara/poltergeist'
|
||||
Capybara.javascript_driver = :poltergeist
|
||||
|
||||
# For debugging, extend poltergeist's timeout
|
||||
# Capybara.register_driver :poltergeist do |app|
|
||||
# Capybara::Poltergeist::Driver.new(app, timeout: 5.minutes)
|
||||
# end
|
||||
|
||||
|
||||
require "paperclip/matchers"
|
||||
|
||||
RSpec.configure do |config|
|
||||
|
||||
Reference in New Issue
Block a user