Merge pull request #8402 from denschub/cucumber-docker-fixes
Fix running Cucumber in Docker
This commit is contained in:
commit
7e15d9ec8a
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue