Project

General

Profile

Actions

Testing #510

closed

System test: should render custom field enumeration color badge for issue list

Added by liaham over 3 years ago. Updated almost 3 years ago.

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

100%

Estimated time:
Compatible Redmine Version:

Description

The test causes an error:

The reason why the required field is not found is, that it won't be rendered if there is no query where the custom field number occurs. In this test, the query is nil. However, it is not clear why because the screenshot shows that the field was selected and hence, has to be in a query before.

# Running:

..Capybara starting Puma...
* Version 5.4.0 , codename: Super Flight
* Min threads: 0, max threads: 4
* Listening on http://0.0.0.0:3434
[Screenshot]: tmp/screenshots/failures_test_should_render_custom_field_enumeration_color_badge_for_issue_list.png
E........

Finished in 8.634024s, 1.2740 runs/s, 3.2430 assertions/s.

  1) Error:
ColoredEnumeration::IssueTest#test_should_render_custom_field_enumeration_color_badge_for_issue_list:
Capybara::ElementNotFound: Unable to find css "table.enumeration-badge td"
    plugins/redmine_colored_enumeration/test/system/issue_test.rb:75:in `block in <class:IssueTest>'

11 runs, 28 assertions, 0 failures, 1 errors, 0 skips
make: *** [Makefile:193: plugin_test] Fehler 1

Files


Related issues 1 (0 open1 closed)

Copied to xmera Omnia - Testing #639: System test: should render custom field enumeration color badge for issue listClosedliaham

Actions
Actions #1

Updated by liaham over 3 years ago

  • Target version changed from unplanned to unreleased
Actions #2

Updated by liaham over 3 years ago

  • Copied to Testing #639: System test: should render custom field enumeration color badge for issue list added
Actions #3

Updated by liaham almost 3 years ago

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

The test failed since the required feature was not installed.

Actions #4

Updated by liaham almost 3 years ago

  • Target version changed from unreleased to 0.1.2
Actions

Also available in: Atom PDF