Actions
Defect #31074
closedTimelogTest#test_default_query_setting fails depending on the language of the browser
Defect #31074:
TimelogTest#test_default_query_setting fails depending on the language of the browser
Resolution:
Fixed
Affected version:
Description
The test fails in some environment.
Failure: TimelogTest#test_default_query_setting [/Users/maeda/redmines/redmine-trunk/test/system/timelog_test.rb:82]: Expected false to be truthy. bin/rails test test/system/timelog_test.rb:77
This is because the test expects the current language is always English, but actually the language is auto-selected depending on the test environment. For example, Japanese is the default language in my environment. The test looks for a table header "Comment" and fails because there is a Japanese text "コメント" instead of "Comment".

Files
Actions