diff options
author | Go MAEDA <maeda@farend.jp> | 2024-10-26 06:38:43 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-10-26 06:38:43 +0000 |
commit | c8b6859ba6ecbef2626a933e83ba6632f36306bb (patch) | |
tree | 075236c4abd11cf5eb0e91e5f638eba1ccc93152 /test/functional/reports_controller_test.rb | |
parent | 2e4c0df758132e0e6f7d743fcf44ece896f349de (diff) | |
download | redmine-c8b6859ba6ecbef2626a933e83ba6632f36306bb.tar.gz redmine-c8b6859ba6ecbef2626a933e83ba6632f36306bb.zip |
Add column totals to Issues Summary Report (#691).
Contributed by David Petersen (user:petersendidit).
git-svn-id: https://svn.redmine.org/redmine/trunk@23163 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/reports_controller_test.rb')
-rw-r--r-- | test/functional/reports_controller_test.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/functional/reports_controller_test.rb b/test/functional/reports_controller_test.rb index 497176b1d..a68c13536 100644 --- a/test/functional/reports_controller_test.rb +++ b/test/functional/reports_controller_test.rb @@ -208,6 +208,17 @@ class ReportsControllerTest < Redmine::ControllerTest assert_select ':nth-child(9)', :text => '1' # closed assert_select ':nth-child(10)', :text => '3' # total end + assert_select 'table.list tfoot :nth-child(1)' do + assert_select 'td', :text => 'Total' + assert_select ':nth-child(2)', :text => '3' # status:1 + assert_select ':nth-child(3)', :text => '0' # status:2 + assert_select ':nth-child(4)', :text => '0' # status:3 + assert_select ':nth-child(5)', :text => '0' # status:4 + assert_select ':nth-child(6)', :text => '1' # status:5 + assert_select ':nth-child(8)', :text => '3' # open + assert_select ':nth-child(9)', :text => '1' # closed + assert_select ':nth-child(10)', :text => '4' # total + end end def test_get_issue_report_details_by_assignee_should_show_non_assigned_issue_count |