mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: mute audio in system specs (#19578)
This commit is contained in:
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user