diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-04-13 09:30:08 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-04-13 09:30:08 +0300 |
commit | 960e2065f923e14e40651686eb9aafa38e5d748b (patch) | |
tree | 1dfcf12da7c7d8d8067f6dd1f821451a171ac352 /features | |
parent | 36373af3c753558577ccb09ce173e72709c656b6 (diff) |
remove --disable-gpu flag as it is no longer needed
Diffstat (limited to 'features')
-rw-r--r-- | features/support/capybara.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/features/support/capybara.rb b/features/support/capybara.rb index 4e2b3c67af5..8879c9ab650 100644 --- a/features/support/capybara.rb +++ b/features/support/capybara.rb @@ -21,13 +21,7 @@ Capybara.register_driver :chrome do |app| options.add_argument("no-sandbox") # Run headless by default unless CHROME_HEADLESS specified - unless ENV['CHROME_HEADLESS'] =~ /^(false|no|0)$/i - options.add_argument("headless") - - # Chrome documentation says this flag is needed for now - # https://developers.google.com/web/updates/2017/04/headless-chrome#cli - options.add_argument("disable-gpu") - end + options.add_argument("headless") unless ENV['CHROME_HEADLESS'] =~ /^(false|no|0)$/i # Disable /dev/shm use in CI. See https://gitlab.com/gitlab-org/gitlab-ee/issues/4252 options.add_argument("disable-dev-shm-usage") if ENV['CI'] || ENV['CI_SERVER'] |