Labels are not copied when duplicating items (folders, suites, or tests)
Describe the bug When copying items (such as folders, test suites, or individual tests) with labels assigned, the labels are not saved in the copied version. This leads to loss of context and categorization, and forces users to manually re-assign all labels.
To Reproduce
- Go to the 'Tests' tab
- Open any tests with labels that consist
- Click '...' extra menu → Copy button
- Select the destination for the copy
- See that the copied test case does not include any labels
Expected behavior All metadata, including labels, should be saved when duplicating any item.
Screenshots
https://github.com/user-attachments/assets/61b5e620-cc50-4b3b-8893-20905cefab3c
Desktop (please complete the following information):
- OS: macOS
- Browser Chrome 137.0.7151.120
- Browser Version
- Application: PROD
Additional context N/A
Need backend
should be implemented as a part of https://github.com/testomatio/app/issues/1033
Add option to copy custom fields value as well
@DavertMik commented: Copy - copy only test case with labels Duplicate - duplicate test case with all metadata