Modify

#11358 closed defect (fixed)

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

Reported by: JamesThomasMoon1979b Owned by: seccanj
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 JamesThomasMoon1979b 11 months ago.

Download all attachments as: .zip

Change History (4)

Changed 11 months ago by JamesThomasMoon1979b

comment:1 Changed 11 months ago by anonymous

  • Component changed from TestCaseManagementPlugin to TestManagerForTracPlugin
  • Owner changed from edunne to seccanj

comment:2 Changed 11 months ago by seccanj

Fixed with 1.7.2.

comment:3 Changed 11 months ago by seccanj

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.