Merged r23704 from trunk to 6.0-stable (#42600).

git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23708 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2025-04-24 05:42:22 +00:00
parent 247b08d63e
commit 492a6e532a

View File

@@ -43,6 +43,11 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
driver_option.add_preference 'download.default_directory', DOWNLOADS_PATH.gsub(File::SEPARATOR, File::ALT_SEPARATOR || File::SEPARATOR)
driver_option.add_preference 'download.prompt_for_download', false
driver_option.add_preference 'plugins.plugins_disabled', ["Chrome PDF Viewer"]
# Disable "Change your password" popup shown after login due to leak detection
driver_option.add_preference 'profile.password_manager_leak_detection', false
# Disable password saving prompts
driver_option.add_preference 'profile.password_manager_enabled', false
driver_option.add_preference 'credentials_enable_service', false
end
setup do