diff options
author | Go MAEDA <maeda@farend.jp> | 2020-12-02 21:48:11 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-12-02 21:48:11 +0000 |
commit | b42e8c2040f050cd41cfc223c3168def8bf35c44 (patch) | |
tree | 41f6f313ce60c0dc19be63465a4dc9605a8f6a60 /test/system | |
parent | 1d96cd2c4c6168f0ba7c3055d414a75f1eb7ed8e (diff) | |
download | redmine-b42e8c2040f050cd41cfc223c3168def8bf35c44.tar.gz redmine-b42e8c2040f050cd41cfc223c3168def8bf35c44.zip |
Fix selenium chrome options so files are downloaded to tmp/downloads in system tests (#34119).
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@20549 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/system')
-rw-r--r-- | test/system/issues_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb index 046088751..94d39c158 100644 --- a/test/system/issues_test.rb +++ b/test/system/issues_test.rb @@ -519,9 +519,7 @@ class IssuesSystemTest < ApplicationSystemTestCase click_on 'CSV' click_on 'Export' - # https://github.com/SeleniumHQ/selenium/issues/5292 - # if issues.csv exists, Chrome creates issues (1).csv, issues (2).csv ... - csv = CSV.read(downloaded_file("issues*.csv")) + csv = CSV.read(downloaded_file("issues.csv")) subject_index = csv.shift.index('Subject') subjects = csv.map {|row| row[subject_index]} assert_equal subjects.sort, subjects |