From 15d8e32cbcf90be1aa75bc71b89383b0dc14f5fd Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 25 Sep 2019 13:14:05 +0000 Subject: 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 --- test/application_system_test_case.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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='*') -- cgit v1.2.3