DEV: mute audio in system specs (#19578)

This commit is contained in:
Joffrey JAFFEUX 2022-12-22 15:03:03 +01:00 committed by GitHub
parent daff62e3cb
commit b11e7fb901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -256,6 +256,7 @@ RSpec.configure do |config|
options.add_argument("--window-size=1400,1400")
options.add_argument("--no-sandbox")
options.add_argument("--disable-dev-shm-usage")
options.add_argument("--mute-audio")
end
Capybara.register_driver :selenium_chrome do |app|
@ -284,6 +285,7 @@ RSpec.configure do |config|
options.add_argument("--no-sandbox")
options.add_argument("--disable-dev-shm-usage")
options.add_emulation(device_name: "iPhone 12 Pro")
options.add_argument("--mute-audio")
end
Capybara.register_driver :selenium_mobile_chrome do |app|