Project

General

Profile

Actions

Testing #1242

closed

Fix DataMatrix unit tests

Added by liaham over 2 years ago. Updated over 2 years ago.

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

100%

Estimated time:
Compatible Redmine Version:

Description

 FAIL TableCaclulation::SpreadsheetRowsControllerTest#test_should_render_new_spreadsheet_row (2.86s)
        Expected at least 1 element matching "#spreadsheet_row_custom_field_values_1", found 0..
        Expected 0 to be >= 1.
        plugins/redmine_table_calculation/test/functional/spreadsheet_rows_controller_test.rb:106:in `block in <class:SpreadsheetRowsControllerTest>'

 FAIL TableCaclulation::DataMatrixTest#test_should_use_position_to_calculate_with_enumerations (5.32s)
        --- expected
        +++ actual
        @@ -1 +1 @@
        -{1=>[[1, 1]], 2=>[[2, 2]]}
        +{30=>[[30, nil]], 31=>[[31, nil]]}
        plugins/redmine_table_calculation/test/unit/data_matrix_test.rb:57:in `block in <class:DataMatrixTest>'

 FAIL TableCaclulation::DataMatrixTest#test_should_use_value_to_calculate_with_list_and_numbers (5.33s)
        Expected: {1=>[[1, 8]], 2=>[[2, 5]]}
          Actual: {32=>[[32, 8]], 33=>[[33, 5]]}
        plugins/redmine_table_calculation/test/unit/data_matrix_test.rb:82:in `block in <class:DataMatrixTest>'
[Screenshot]: tmp/screenshots/failures_test_should_render_custom_field_enumeration_color_badge_in_result_row.png
ERROR TableCaclulation::SpreadsheetColorTest#test_should_render_custom_field_enumeration_color_badge_in_result_row (8.89s)
Minitest::UnexpectedError:         Capybara::ElementNotFound: Unable to find css ".enumeration-badge td"
            plugins/redmine_table_calculation/test/system/spreadsheet_color_test.rb:54:in `block in <class:SpreadsheetColorTest>'

Files


Related issues 1 (0 open1 closed)

Related to xmera Omnia - Testing #1170: Fix plugin testsClosedliaham

Actions
Actions #1

Updated by liaham over 2 years ago

Actions #3

Updated by liaham over 2 years ago

  • Status changed from New to Closed
  • Assignee set to liaham
  • % Done changed from 0 to 100
Actions #4

Updated by liaham over 2 years ago

  • Target version changed from unreleased to 1.0.4
Actions

Also available in: Atom PDF