Merge pull request #4917 from betagouv/remove-duplicated-chrome-arg

Tests : suppression d’un paramètre Chrome en double
This commit is contained in:
Pierre de La Morinerie 2020-03-19 18:04:06 +01:00 committed by GitHub
commit 0c944ceeb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ Capybara.register_driver :headless_chrome do |app|
options.add_argument('--window-size=1440,900')
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
chromeOptions: { args: ['headless', 'disable-dev-shm-usage', 'disable-software-rasterizer', 'mute-audio', 'window-size=1440,900'] }
chromeOptions: { args: ['disable-dev-shm-usage', 'disable-software-rasterizer', 'mute-audio', 'window-size=1440,900'] }
)
Capybara::Selenium::Driver.new app,