1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 01:11:12 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-09-25 13:14:05 +00:00
parent ddb24a2473
commit 15d8e32cbc

View File

@ -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='*')