Xray
all clusters 1h 6h 24h 48h 3d 5d 7d 14d 30d ‹
Last 1 hour▾
Ends now. Anything up to this cluster's 30-day retention.
Start and end times
Cancel
Interpreted in UTC (change it at the right of this bar). Earliest available: 2026-10-24 09:21:54.
› →|
updated 5d ago
Sample data. This database was generated by scripts/seed_dev_db.py — every service, deploy, person and figure on this page is synthetic. Names are sample.*@seed.invalid and image tags are prefixed SEED-. Nothing here happened.

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

#StepExpected result
1Open 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.
2Change the name, add an option and select Duplicate.The dialog closes and the question now shows the new codelist.
3Save 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.