Bug 841589 - TCMS TestRun update does not update / refresh all case runs (as expected)
Summary: TCMS TestRun update does not update / refresh all case runs (as expected)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: TCMS
Classification: Other
Component: Usability
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: June Zhang
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-19 13:50 UTC by Frantisek Reznicek
Modified: 2015-11-16 01:14 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-06 12:41:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Frantisek Reznicek 2012-07-19 13:50:57 UTC
Description of problem:

TCMS TestRun update does not update / refresh all case runs (as expected):

Let's have following scenario:
Test plan (6518) created with couple of test cases.
I created test runs for that plan (42191-4).
In the meantime some test case descriptions changed so I used test run update functionality to update caseruns to latest test case revisions.

This function succeeded but did not update all case runs as expected.

For instance:
  https://tcms.engineering.redhat.com/run/42191/
contains caserun 1284695 which still refers to test case 175957 revision 1 (rev 2 is last one existing).

Re-running test-run 42191 update does nothing.


Version-Release number of selected component (if applicable):
Nitrate 3.7.1

How reproducible:
100%

Steps to Reproduce:
1. Update https://tcms.engineering.redhat.com/run/42191/
   Showing 0 updates.
2. Check that caserun 1284695 still shows test case 175957 rev 1 instead of rev 2
3. Doublecheck that case 175957 contain two revisions:
   https://tcms.engineering.redhat.com/case/175957/history/?from_plan=
  
Actual results:
  Test run update does not perform all caserun updates.

Expected results:
  Test run update should perform all caserun updates.

Additional info:

  Workaround is to create new set of runs and transfer all info including from old test runs.

Comment 1 yawei Li 2012-07-20 08:25:25 UTC
Test run update only update the test case run in idle status, others won't be updated. There is a hint when mouse on "update".

So the non-idle test case run won't be updated.

Comment 2 Frantisek Reznicek 2012-07-20 11:23:05 UTC
OK, understood.
Is there a way how to update caserun when not in IDLE state or by definition (which makes sense to me) update can be performed in IDLE only?

Comment 3 yawei Li 2012-07-24 04:00:06 UTC
Current workflow is only IDLE case run can be synced to cases, if you want to sync some caserun, you can change the status to IDEL in batch, and update in batch.
It seems unacceptable to sync the caserun which is failed and passed.

Comment 4 Frantisek Reznicek 2012-08-06 12:41:47 UTC
Understood, closing as NOT-A-BUG.


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