Test cases › Studio › Variables and codelists
TC-STU-251 A new codelist is listed with its choices and codes High
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.
- Test data
- A codelist name not used in the study configuration, with choices such as Low [1], Medium [2], High [3].
- Passes when
- A saved codelist is listed with its choices and codes.
- Source
- Live observation; Implementation (UI) · verified 2026-10-06
Steps
| # | Step | Expected result |
|---|---|---|
| 1 | Create a codelist with three choices, each with a code. | The dialog closes. |
| 2 | Look at the new codelist's row. | The row shows the first two choices with their codes in square brackets, and +1 for the rest. |
Automated tests (0)
None. An automated test is tied to this case when its title or source cites TC-STU-251. The old tool named studioConfig/codeList.spec.js::TC-03: Add a codelist in the Codelist section; studioConfig/createProtocolFromJson.spec.js::TC-03: Create all codelists from JSON (partially automated), which matches no test the suites ran.
Note from the old tool: Codelists are created with choices and codes and the tests assert only the name in the list. Nothing asserts the row's choices with codes in brackets or the +N summary.