Specify Capybara javscript driver until we upgrade

This commit is contained in:
Petko Bordjukov 2019-01-08 20:26:02 +02:00
parent 8444015e90
commit 26d6c868b5
1 changed files with 6 additions and 5 deletions

View File

@ -2,12 +2,13 @@ Capybara.default_max_wait_time = 5
Capybara.asset_host = 'http://localhost:3000'
Capybara.server = :puma, { Silent: true }
Capybara.javascript_driver = :selenium_chrome_headless
RSpec.configure do |config|
# config.before(:each, type: :feature, js: true) do
# driven_by :selenium, using: :headless_chrome, screen_size: [1920, 1080]
# end
end
# RSpec.configure do |config|
# config.before(:each, type: :feature, js: true) do
# driven_by :selenium, using: :headless_chrome, screen_size: [1920, 1080]
# end
# end
RSpec.configure do |config|
config.include FeatureHelpers, type: :feature