From 293e7c22febfad96eb69ecce347504e8919573ac Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 23 Apr 2025 00:50:57 +0000 Subject: [PATCH] Suppress "Change your password" popup for stable system tests (#42600). Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23704 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/application_system_test_case.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 4a6fd0d30..0bb0de944 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -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