Bug 752712

Summary: Clone button in a test run should not allow next step with empty selection
Product: [Other] TCMS Reporter: Marian Ganisin <mganisin>
Component: Web UIAssignee: June Zhang <junzhang>
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 3.0CC: ctang, dli, jcai, jianchen, junzhang, jzhao, nli, vchen, xgao, xkuang, yuwang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-02 08:47:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 741823    
Bug Blocks:    

Description Marian Ganisin 2011-11-10 08:15:16 UTC
Actual results:
1. Clone button is pressed to create a copy of current Test Run,
2. edit form for new Test Run appears,
3. modifications are made,
4. Save button is pressed,
5. *Info* message is displayed and says "At least one case is required by a run.",
6. nothing is created, all modifications are lost! Everything has to be repeated.

Expected results:
1. Clone button is pressed,
2. *Error* dialog is displayed with information it can't proceed without cases,
3. it is possible to proceed without interruption right after correction.

Advantage:
1. Error dialog clearly states the issue in opposite to info message,
2. no modification are lost because of wrong workflow.

Comment 1 Jin Zhao 2011-11-10 08:37:26 UTC
Try to do as the following steps:
1.Enter test run
2.Select any or all case run you want to clone
3.Click the clone button
4.Edit and click save button

It's can be clone successfully.

Comment 2 Marian Ganisin 2011-11-10 08:52:23 UTC
(In reply to comment #1)
> Try to do as the following steps:
> 1.Enter test run
> 2.Select any or all case run you want to clone
> 3.Click the clone button
> 4.Edit and click save button
> 
> It's can be clone successfully.

Yes I know (I am not reporting it is not possible to clone, I am reporting bad workflow of clone).

If I accidentally forget to do a selection then my description applies. This "accident" happens quite often not only at my desk (other users think current behavior is little bit annoying).

Therefore Error dialog (javascript form in best case) has to be displayed right after pressing Clone button to avoid bad user experience.

Comment 3 Jin Zhao 2011-11-10 09:02:15 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Try to do as the following steps:
> > 1.Enter test run
> > 2.Select any or all case run you want to clone
> > 3.Click the clone button
> > 4.Edit and click save button
> > 
> > It's can be clone successfully.
> 
> Yes I know (I am not reporting it is not possible to clone, I am reporting bad
> workflow of clone).
> 
> If I accidentally forget to do a selection then my description applies. This
> "accident" happens quite often not only at my desk (other users think current
> behavior is little bit annoying).
> 
> Therefore Error dialog (javascript form in best case) has to be displayed right
> after pressing Clone button to avoid bad user experience.

Sorry for my misunderstanding. I got it. Thanks for your report.

Comment 4 Xin Gao 2011-11-10 09:14:54 UTC
This issue has been reported in the testing phase.
Please refer to bug 741823

Comment 5 Marian Ganisin 2011-11-10 09:21:55 UTC
(In reply to comment #4)
> This issue has been reported in the testing phase.
> Please refer to bug 741823

Great to see this was already identified. This report is clearly a duplicate. I just would like to ask developers to spend some time on this as I believe it is not big deal from developer point of view, contrary the value for user is really significant.

Comment 6 Jin Zhao 2011-12-02 08:57:52 UTC

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