Sha256: 2e74dd98bd82fc0c8dde732ecbca4f6962174ed27295ce3e5a36023b25847eaf

Contents?: true

Size: 244 Bytes

Versions: 2

Compression:

Stored size: 244 Bytes

Contents

RSpec.configure do |config|
  config.before(:each, type: :feature, js: true) do
    page.driver.browser.manage.window.resize_to(1600, 1024)
  end
end

Capybara.javascript_driver = (ENV['CAPYBARA_JS_DRIVER'] || :selenium_chrome_headless).to_sym

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_braintree-3.3.0 spec/support/solidus_braintree/capybara.rb
solidus_braintree-3.2.0 spec/support/solidus_braintree/capybara.rb