diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-25 13:14:05 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-25 13:14:05 +0000 |
commit | 15d8e32cbcf90be1aa75bc71b89383b0dc14f5fd (patch) | |
tree | 2ccadfbceb3323fa4a8d5b34095176dcea835f7d | |
parent | ddb24a2473e0b6303f4aefbc12ed569585d34a7d (diff) | |
download | redmine-15d8e32cbcf90be1aa75bc71b89383b0dc14f5fd.tar.gz redmine-15d8e32cbcf90be1aa75bc71b89383b0dc14f5fd.zip |
do not delete Chrome downloaded files on Linux
https://github.com/SeleniumHQ/selenium/issues/5292
git-svn-id: http://svn.redmine.org/redmine/trunk@18531 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/application_system_test_case.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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='*') |