Skip to content

Commit

Permalink
set sudo for travis due to chrome driver sandbox issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mejackreed committed Feb 5, 2018
1 parent b254fc6 commit 12066d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: ruby
rvm:
- '2.3.4'
sudo: false
sudo: required
addons:
chrome: stable
jdk:
Expand Down
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

Capybara.register_driver :headless_chrome do |app|
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
chromeOptions: { args: %w(headless no-sandbox disable-gpu lang=en) }
chromeOptions: { args: %w(headless disable-gpu lang=en) }
)

Capybara::Selenium::Driver.new app,
Expand Down

0 comments on commit 12066d4

Please sign in to comment.