parxier
14 years agoOccasional Contributor
When Test Request is cloned endpoints are not cloned
Steps to reproduce:
- Create new Test Suite (ts1)
- Create new Test Case (tc1) under ts1
- Add new Test Request Test Step (tr1) under tc1
- Add some endpoints to tr1
- Create new Test Suite (ts2)
- Create new Test Case (tc2) under ts2
- Clone (copy) tr1 into tc2 renaming it to tr2
- Modify endpoints in tr2 to smth different from tr1
Expected:
Endpoints in tr1 don't change.
Actual:
Endpoints in tr1 change to tr2 endpoints which is wrong.
You would think that deleting all endpoints in tr2 and creating new ones would help, but it doesn't work either. When you delete endpoints from tr2, they also deleted from tr1 and vice versa (same applies for adding new endpoint). Both requests are tightly coupled despite of been supposedly decoupled clones.
Workaround:
Create fresh new test request tr2.