Test cases › Studio › Variables and codelists
TC-STU-312 Duplicating a question's codelist gives the question a separate copy and leaves the original unchanged Medium
revision 1 · last changed 6d ago by import from the test management tool
- Role
- Member with Studio access
- Preconditions
- Signed in as a member with Studio access. A draft study configuration, not marked Apply to Completed visits, is open in the editor, with a Single Select question that uses a codelist.
- Passes when
- The copy belongs to the question and the original codelist is unchanged.
- Source
- Implementation (UI)
Steps
| # | Step | Expected result |
|---|---|---|
| 1 | Open the question and select Duplicate codelist beside its codelist. | A Duplicate Codelist dialog opens with the codelist's name, variable name and options filled in. |
| 2 | Change the name, add an option and select Duplicate. | The dialog closes and the question now shows the new codelist. |
| 3 | Save the question and select Codelist in the sidebar. | Both codelists are listed: the original with its original options and the copy with the added option. |
Automated tests (0)
None. An automated test is tied to this case when its title or source cites TC-STU-312.