User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:188.8.131.52) Gecko/2008070208 Firefox/3.0.1 Build Identifier: 2.0 When submitting a new test run, Testopia gives an error message saying: "Target Completion and Pass rates must be a number between 0 and 100 inclusive." I did not find any documentation referencing this specific completion or pass rate, or where to set the value for the completion or pass rate. Reproducible: Always Steps to Reproduce: 1) Logg myself in at http://landfill.bugzilla.org/testopia2/ as email@example.com 2) Created a new test plan id=880 3) Created 2 new test cases to the test plan 4) Created a new test run to the test plan 5) Filled in all mandatory fields. 6) Submitted the new test run by clicking the Submit button. Actual Results: An error message saying: "Target Completion and Pass rates must be a number between 0 and 100 inclusive." Expected Results: The new test run was successfully created and added to the test plan
Created attachment 334871 [details] Screen dump of the error A screen dump of the fault displaying the error message
forgot to run checksetup. try now
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
Yes it works now. A thought though. Should not the fields "Target Completion Rates" and "Target Pass Rate" be marked as mandatory using a bold font? I cannot submit a Run until both fields are filled with valid numbers.
Ooops, It should allow those to be blank. Good catch. Checking in template/en/default/testopia/run/show.html.tmpl; /cvsroot/mozilla/webtools/testopia/template/en/default/testopia/run/show.html.tmpl,v <-- show.html.tmpl new revision: 1.51; previous revision: 1.50 done rlog: /cvsroot/mozilla/webtools/testopia/template/en/default/testopia/run/show.html.tmpl,v: warning: Unknown phrases like `commitid ...;' are present. Checking in Bugzilla/Testopia/TestRun.pm; /cvsroot/mozilla/webtools/testopia/Bugzilla/Testopia/TestRun.pm,v <-- TestRun.pm new revision: 1.63; previous revision: 1.62 done rlog: /cvsroot/mozilla/webtools/testopia/Bugzilla/Testopia/TestRun.pm,v: warning: Unknown phrases like `commitid ...;' are present. Checking in testopia/js/run.js; /cvsroot/mozilla/webtools/testopia/testopia/js/run.js,v <-- run.js new revision: 1.31; previous revision: 1.30
You need to log in before you can comment on or make changes to this bug.