diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 89fda6a3c69..531d965ed1e 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -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|