Bug 730733
Summary: | Default sort order when linking test cases from plan to another plan | ||
---|---|---|---|
Product: | [Other] TCMS | Reporter: | Petr Šplíchal <psplicha> |
Component: | Application | Assignee: | Yuguang Wang <yuwang> |
Status: | VERIFIED --- | QA Contact: | Nobody <nobody> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.5 | CC: | azelinka, junzhang, ohudlick, ryang, vchen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 3.6.3 | 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: | |
Embargoed: | |||
Bug Depends On: | 725643 | ||
Bug Blocks: |
Description
Petr Šplíchal
2011-08-15 14:40:23 UTC
(In reply to comment #0) > Description of problem: > > When a test case is linked from a test plan to another test plan > the sort order of the new 'CasePlan' is 'None'. This causes that > we have to manually re-order all test cases again and again. > > Please, use the sort order related to the original test plan as > the default value for the link with new test plan. > > Version-Release number of selected component (if applicable): > 3.5.0 > > Steps to Reproduce: > 1. Go to a test plan > 2. Case -> Add cases from other plans > 3. Filter the desired cases, hit "Add selected cases" > > Actual results: > Test cases in the new test plan put in random order. > > Expected results: > Test cases in the same order as in the original test plan. > > Additional info: > The sort order should be preserved when linking using > 'Case -> Clone' as well. Add cases from other plans and filter the desired cases, if you don't assign the plan id in search conditions, the cases may link to multi-plans and have multi-sortkey, so can't know which plan's order is you need, we default set the sortkey is None. I see, the test cases can come from different plans. That's true. However, we could provide this functionality at least for the other way of cloning test cases: 1. Go test test plan 2. Check desired test cases 3. Select Case -> Clone 4. Filter desired plan 5. Clone In this way we know the original sort key for each case-plan as we have id of the original test plan from where test cases are cloned. However, this functionality is currently broken (bug 725643). (In reply to comment #2) > I see, the test cases can come from different plans. That's true. > However, we could provide this functionality at least for the > other way of cloning test cases: > > 1. Go test test plan > 2. Check desired test cases > 3. Select Case -> Clone > 4. Filter desired plan > 5. Clone > > In this way we know the original sort key for each case-plan as we > have id of the original test plan from where test cases are cloned. > However, this functionality is currently broken (bug 725643). This functionality is currently work, pls retry in tcms 3.6.2. Thanks and regards! Verify version: 3.6.3 on englab --> PASSED Verify steps: 1. Go test test plan 2. Check desired test cases 3. Select Case -> Clone 4. Filter desired plan 5. Clone Actual results: work normally Seems to be working now as expected, thanks for the fix! |