Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Schubert <mail@dennis-schubert.de>2022-10-29 06:59:05 +0300
committerDennis Schubert <mail@dennis-schubert.de>2022-10-29 07:30:34 +0300
commitbd2a45615f0e1cd71a374774266436a440531bd1 (patch)
treeb852e3a7d2227ccb7c0bdb84c0f8bb81a52bac87
parent7c450b4446c4d060b15cc9c6e50739ef60550ecb (diff)
Disable Chromium sandbox for Apparition
-rw-r--r--features/support/env.rb6
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