Project

General

Profile

Actions

Maintenance #2172

closed

Collection #1826: Maintenance tasks of several components

Maintenance #2123: Support Redmine 5.1.3

Fix broken integration tests

Added by liaham 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Compatible Redmine Version:

Description

FAIL ProjectsTest#test_archive_project (6.45s)
        Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
        test/integration/projects_test.rb:29:in `test_archive_project'

FAIL HookTest#test_empty_sidebar_should_be_hidden (18.28s)
        Expected at least 1 element matching "div#main.nosidebar", found 0.
        Expected 0 to be >= 1.
        test/integration/lib/redmine/hook_test.rb:86:in `test_empty_sidebar_should_be_hidden'

 FAIL HookTest#test_sidebar_with_hook_content_should_not_be_hidden (18.75s)
        Expected at least 1 element matching "div#sidebar p", found 0.
        Expected 0 to be >= 1.
        test/integration/lib/redmine/hook_test.rb:93:in `test_sidebar_with_hook_content_should_not_be_hidden'

 FAIL TwofaTest#test_should_allow_logout_even_if_twofa_setup_is_required (24.88s)
        Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
        test/integration/twofa_test.rb:102:in `block (2 levels) in <class:TwofaTest>'
        test/test_helper.rb:102:in `with_settings'
        test/integration/twofa_test.rb:94:in `block in <class:TwofaTest>'

 FAIL AdminTest#test_add_user (27.73s)
        Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
        test/integration/admin_test.rb:34:in `test_add_user'

 FAIL AccountTest#test_autologin (29.65s)
        Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
        test/integration/account_test.rb:77:in `block in test_autologin'
        test/test_helper.rb:102:in `with_settings'
        test/integration/account_test.rb:47:in `test_autologin'

 FAIL AccountTest#test_autologin_should_use_autologin_cookie_name (31.44s)
        Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
        test/integration/account_test.rb:109:in `block in 
test_autologin_should_use_autologin_cookie_name'
        test/test_helper.rb:102:in `with_settings'
        test/integration/account_test.rb:90:in `test_autologin_should_use_autologin_cookie_name'

 FAIL LayoutTest#test_help_and_powered_by_redmine_link_should_open_separate_tab (37.92s)
        Expected at least 1 element matching "#top-menu a.help[target=\"_blank\"][rel=\"noopener\"]", found 0.
        Expected 0 to be >= 1.
        test/integration/layout_test.rb:133:in `test_help_and_powered_by_redmine_link_should_open_separate_tab'

 FAIL LayoutTest#test_top_menu_and_search_visible_when_login_not_required (39.49s)
        Expected at least 1 element matching "#top-menu > ul", found 0.
        Expected 0 to be >= 1.
        test/integration/layout_test.rb:59:in `block in test_top_menu_and_search_visible_when_login_not_required'
        test/test_helper.rb:102:in `with_settings'
        test/integration/layout_test.rb:57:in `test_top_menu_and_search_visible_when_login_not_required'

 FAIL LayoutTest#test_search_field_outside_project_should_link_to_global_search (39.95s)
        Expected at least 1 element matching "div#quick-search form[action=\"/search\"]", found 0.
        Expected 0 to be >= 1.
        test/integration/layout_test.rb:123:in `test_search_field_outside_project_should_link_to_global_search'

 FAIL SudoModeTest#test_add_user (40.56s)
        Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
        test/integration/sudo_mode_test.rb:41:in `test_add_user'

 FAIL SudoModeTest#test_create_member_xhr (41.05s)
        Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
        test/integration/sudo_mode_test.rb:81:in `test_create_member_xhr'

 FAIL SudoModeTest#test_create_role (41.56s)
        Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
        test/integration/sudo_mode_test.rb:131:in `test_create_role'

 FAIL SudoModeTest#test_sudo_mode_should_be_active_after_login (42.11s)
        Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
        test/integration/sudo_mode_test.rb:19:in `test_sudo_mode_should_be_active_after_login'

 FAIL SudoModeTest#test_create_member (42.56s)
        Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
        test/integration/sudo_mode_test.rb:105:in `test_create_member'
Actions

Also available in: Atom PDF