Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20915 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/5.0.0
@@ -38,7 +38,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase | |||
'goog:chromeOptions' => { | |||
'args' => GOOGLE_CHROME_OPTS_ARGS, | |||
'prefs' => { | |||
'download.default_directory' => DOWNLOADS_PATH, | |||
'download.default_directory' => DOWNLOADS_PATH.gsub(File::SEPARATOR, File::ALT_SEPARATOR || File::SEPARATOR), | |||
'download.prompt_for_download' => false, | |||
'plugins.plugins_disabled' => ["Chrome PDF Viewer"] | |||
} |