We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54207c3 commit 353a726Copy full SHA for 353a726
spec/rails_helper.rb
@@ -32,23 +32,6 @@
32
exit 1
33
end
34
35
-Capybara.register_driver :headless_chrome do |app|
36
- options = Selenium::WebDriver::Chrome::Options.new
37
- options.args << "--headless=new"
38
- options.args << "--no-sandbox"
39
- options.args << if ENV["BIG_SCREEN_SIZE"].present?
40
- "--window-size=1920,3000"
41
- else
42
- "--window-size=1920,1080"
43
- end
44
- options.args << "--ignore-certificate-errors" if ENV["TEST_SSL"]
45
- Capybara::Selenium::Driver.new(
46
- app,
47
- browser: :chrome,
48
- capabilities: [options]
49
- )
50
-end
51
-
52
RSpec.configure do |config|
53
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
54
# config.fixture_path = "#{::Rails.root}/spec/fixtures"
0 commit comments