Bug 703781

Summary: RFE: clone only filter cases testrun
Product: [Other] TCMS Reporter: Jan Ščotka <jscotka>
Component: Web UIAssignee: June Zhang <junzhang>
Status: VERIFIED --- QA Contact: Nobody <nobody>
Severity: high Docs Contact:
Priority: high    
Version: 3.3CC: azelinka, jcai, junzhang, jzhao, ryang, vchen, xkuang, yuwang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.6.0-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Ščotka 2011-05-11 08:58:54 UTC
Description of problem:
Hi,
It whould be good to do cloned testrun, where are cloned only cases what satisfy filter options.

Example:
in run there is 70% PASSed cases and 30% of FAILs, and I would like to rerun only failures, so it means to create (clone) testrun what contains only 30% failures, not what was passed. (manually it is unpleasant

In testrun there is option for filtering testcase, what is good enounght and cloning shlould respect filter option (not clone everything what is in testrun) but only what satisfy filter.
   Thanks&Regards
   Honza

Comment 1 Danqing Li 2011-05-11 09:45:33 UTC
Hi ,

this is good idea.

here is another bug about clone settings : bz #685067 

he need to preserve the case status , do you think you need this option? 
do you need keep the status of case ? or reset all case (filtered ) to idle.

Comment 2 Jan Ščotka 2011-05-11 10:06:35 UTC
Hi,
For me it is better to have everything as Idle to show, that nobody changed to another state.
In case, there will be solution how to change states for all(selected) cases, then it is not important is states will be stored or not.
   Regards
   Honza

Comment 3 shuang 2011-09-16 08:38:26 UTC
Being fixed in tcms 3.6

Comment 4 Xin Gao 2011-09-28 03:20:59 UTC
Verify version 3.6.0-1 on englab - PASS 

Steps:
1. Find a run with one more case-run, and open it. Such as:
   https://tcms.englab.nay.redhat.com/run/26465/
2. Select some cases directly, or select some filtered case.
3. Click "Clone".
5. Click Save.

Actual result: 
Just only selected cases were cloned.