diff options
author | Benjamin Neff <benjamin@coding4coffee.ch> | 2022-10-30 02:41:23 +0300 |
---|---|---|
committer | Benjamin Neff <benjamin@coding4coffee.ch> | 2022-10-30 02:41:31 +0300 |
commit | 7e15d9ec8af43dcb4cfb8960d2552a5bdf5ffe61 (patch) | |
tree | 4cc6ee6889c14944c0ec20adbc4b70f2a7c7f08c | |
parent | 03796e8fe2421ddfbc5380b8194ee68afbe3b88b (diff) | |
parent | bd2a45615f0e1cd71a374774266436a440531bd1 (diff) |
Merge pull request #8402 from denschub/cucumber-docker-fixes
Fix running Cucumber in Docker
-rw-r--r-- | features/support/env.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/features/support/env.rb b/features/support/env.rb index d8cfcbd3a..9297993e1 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -26,7 +26,11 @@ Capybara.server = :webrick Capybara.register_driver :apparition do |app| # Pass headless: false here if you need to see the browser - Capybara::Apparition::Driver.new(app, headless: true) + Capybara::Apparition::Driver.new( + app, + headless: true, + browser_options: %i[no_sandbox disable_setuid_sandbox disable_gpu] + ) end Capybara.javascript_driver = :apparition |