Maintenance: Ensure Chrome requests en-US translated UI in Capybara context.

This commit is contained in:
Thorsten Eckel 2020-09-02 15:17:45 +02:00
parent 518230e6cf
commit 2161d624f2

View file

@ -9,6 +9,11 @@ Capybara.register_driver(:zammad_chrome) do |app|
loggingPrefs: { loggingPrefs: {
browser: 'ALL' browser: 'ALL'
}, },
chromeOptions: {
prefs: {
'intl.accept_languages' => 'en-US'
},
},
) )
options = { options = {