diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 8b552e3b7..44d2c83db 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -59,7 +59,8 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase end def clear_downloaded_files - FileUtils.rm downloaded_files + # https://github.com/SeleniumHQ/selenium/issues/5292 + FileUtils.rm downloaded_files if Redmine::Platform.mswin? end def downloaded_files(filename='*')