Project

General

Profile

Actions

Testing #98

closed

Failing tests with Redmine default test - 2) Failure

Added by liaham about 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/07/2021
Due date:
% Done:

100%

Estimated time:
Compatible Redmine Version:

Description

Running bundle exec rake test when Redmine DMSF is installed causes two tests to fail:


 1) Failure:
CustomFieldsHelperTest#test_select_type_radio_buttons [/home/liane/redmine/test/helpers/custom_fields_helper_test.rb:101]:
Expected exactly 10 elements matching "input[type="radio"]", found 11..
Expected: 10
  Actual: 11

  2) Failure:
ProjectCopyTest#test_copy_should_return_false_if_save_fails [/home/liane/redmine/test/unit/project_copy_test.rb:54]:
Expected: false
  Actual: nil

4626 runs, 19627 assertions, 2 failures, 0 errors, 7 skips

Related issues 1 (0 open1 closed)

Copied to Redmine DMSF - Testing #175: Failing tests with Redmine default test - 1) FailureClosedliaham01/07/2021

Actions
Actions #1

Updated by liaham about 4 years ago

  1. Failure

Refers to Custom Fields. That is, a redmine_dmsf custom field raises the counter.

  1. Failure

Refers to Project#copy which is overwritten and doesn't return a false if saving is unsucessful.

Actions #2

Updated by liaham about 4 years ago

  • Subject changed from Two failing tests with Redmin default test to Failing tests with Redmin default test
Actions #3

Updated by liaham about 4 years ago

  • Target version set to Pull Requests
Actions #4

Updated by liaham about 4 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Fixes the second failed test.

Actions #5

Updated by liaham about 4 years ago

  • Subject changed from Failing tests with Redmin default test to Failing tests with Redmine default test
Actions #6

Updated by liaham about 4 years ago

  • Copied to Testing #175: Failing tests with Redmine default test - 1) Failure added
Actions #7

Updated by liaham about 4 years ago

  • Subject changed from Failing tests with Redmine default test to Failing tests with Redmine default test - 2) Failure
  • Status changed from In Progress to Feedback
  • % Done changed from 50 to 90
Actions #8

Updated by liaham about 4 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100
Actions #9

Updated by liaham almost 3 years ago

  • Target version deleted (Pull Requests)
Actions

Also available in: Atom PDF