Skip to content

Commit

Permalink
Merge pull request #18 from nebulab/override-capybara-js-driver
Browse files Browse the repository at this point in the history
Override Capybara JS driver via `CAPYBARA_DRIVER` ENV variable
  • Loading branch information
spaghetticode authored May 31, 2019
2 parents c552a2a + c5a54ae commit 6a99541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/solidus_support/extension/feature_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
)
end

Capybara.javascript_driver = :selenium_chrome_headless
Capybara.javascript_driver = (ENV['CAPYBARA_DRIVER'] || :selenium_chrome_headless).to_sym
Capybara.default_max_wait_time = 10

require 'spree/testing_support/capybara_ext'
Expand Down

0 comments on commit 6a99541

Please sign in to comment.