Actions
Testing #786
closedFix failing Redmine helper test
Start date:
Due date:
% Done:
100%
Estimated time:
Affected component:
Compatible Redmine Version:
Pull Request Link:
Description
FAIL CustomFieldsHelperTest#test_select_type_radio_buttons (2.80s)
Expected exactly 10 elements matching "input[type="radio"]", found 12..
Expected: 10
Actual: 12
test/test_helper.rb:251:in assert_select_in' test/helpers/custom_fields_helper_test.rb:101:in
test_select_type_radio_buttons'
274/274: [=========================================================================================================================] 100% Time: 00:00:03, Time: 00:00:03
Updated by liaham almost 3 years ago
The test failed since there are two more modules supporting custom fields (dms, tables).
The test should be patched in xmera_omnia_operations.
class CustomFieldsHelperTest
define_method "test_select_type_radio_buttons" do
result = select_type_radio_buttons('UserCustomField')
assert_select_in result, 'input[type="radio"]', :count => 12
assert_select_in result, 'input#type_UserCustomField[checked=?]', 'checked'
result = select_type_radio_buttons(nil)
assert_select_in result, 'input[type="radio"]', :count => 12
assert_select_in result, 'input#type_IssueCustomField[checked=?]', 'checked'
end
end
Updated by liaham almost 3 years ago
- Related to Maintenance #907: Support Redmine 4.2.6 added
Updated by liaham almost 3 years ago
- Status changed from Planned to In Progress
- Assignee set to liaham
Updated by liaham almost 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
- Affected component set to xmera-omnia-operations
Actions