Modify

Opened 3 years ago

Closed 3 years ago

#11358 closed defect (fixed)

adding custom [test-outcomes] breaks setting outcomes from Test Plan table view

Reported by: JamesThomasMoon1979 Owned by: Roberto Longobardi
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Following this section I added the skipped outcome to conf/trac.ini. The last line here:

[test-outcomes]
default = TO_BE_TESTED
green.successful = Successful
red.failed = Failed
yellow.to_be_tested = Untested
yellow.skipped = skipped

I restarted the trac server.

When attempting to set a test case outcome from the Test Plan view, the web page stops interacting. The developer console shows

[17:18:54.182] TypeError: ui.item.attr(...) is undefined @ http://server:8080/e/chrome/testmanager/js/testmanager.js:792
[17:18:54.185] SyntaxError: syntax error @ javascript:void:1

Using firefox 24.0 on Ubuntu.

The sequence of events was this

  1. I created some Test Plan foobar in catalog my catalog
  2. changed the conf/trac.ini as shown above
  3. restarted the server
  4. browse to Test Manager
  5. browse to my catalog
  6. select the test plan foobar
    now I'm in the table view of the test plan
  7. click on a test case icon
    opens the possible outcomes (see attachment)
  8. click a yellow outcome
    nothing occurs, the setting outcomes appears unresponsive
    the DEBUG level trac.log does not show any exception nor any debug statements occurring. The firefox Developer Console shows errors.

Attachments (1)

Screenshot from 2013-10-22 17:10:56-edit.png (11.4 KB) - added by JamesThomasMoon1979 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by JamesThomasMoon1979

comment:1 Changed 3 years ago by anonymous

Component: TestCaseManagementPluginTestManagerForTracPlugin
Owner: changed from edunne to Roberto Longobardi

comment:2 Changed 3 years ago by Roberto Longobardi

Fixed with 1.7.2.

comment:3 Changed 3 years ago by Roberto Longobardi

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Roberto Longobardi.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.