Bug 1124723 - [test run] when add a case to run, the run's estimated_time will add the value of new case's estimated_time, while it will not change when remove case from run.
Summary: [test run] when add a case to run, the run's estimated_time will add the valu...
Keywords:
Status: ASSIGNED
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: 3.8.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Yang Ren
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-30 07:37 UTC by yangqiu
Modified: 2018-07-04 21:42 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-30 08:21:12 UTC


Attachments (Terms of Use)

Description yangqiu 2014-07-30 07:37:50 UTC
Description of problem:
as summary.

Version-Release number of selected component (if applicable):
v3.8.10-1 on devel.

How reproducible:
100%

Steps to Reproduce:
1.Enter a test run detail page, of which the estimated_time is '1d1h1m'
https://tcms-devel.app.eng.nay.redhat.com/run/72389/
2.Add a case to this run, of which the case's estimated_time is '3d3h3m'
3.Inspect the run's estimated_time.
4.Remove the same case from this run, the removed case's estimated_time is '3d3h3m'
5.Inspect the run's estimated_time.

Actual results:
For step 3, the run's estimated_time will add the new case's estimated_time, that is, it changed to '4d4h4m'
For step 5, the run's estimated_time will not subtract the removed case's estimated_time, that is, it keeps the same value '4d4h4m'

Expected results:
For step 3, the run's estimated_time will not add the new case's estimated_time, that is, it keeps the same value '1d1h1m'
For step 5, the run's estimated_time will not subtract the removed case's estimated_time, that is, it keeps the same value '1d1h1m'

Additional info:

Comment 1 yangqiu 2014-07-30 08:21:12 UTC

*** This bug has been marked as a duplicate of bug 849066 ***


Note You need to log in before you can comment on or make changes to this bug.