Test cases › Studio › Variables and codelists
TC-STU-252 Editing and deleting a codelist from its row menu 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. A draft study configuration, not marked Apply to Completed visits, is open in the editor, with a codelist not used by any question.
- Test data
- A fourth choice.
- Passes when
- The codelist is deleted.
- Source
- Live observation; ENG-4623; Implementation (UI) · verified 2026-10-06
Steps
| # | Step | Expected result |
|---|---|---|
| 1 | Open the codelist's row menu. | Edit and Delete are offered. |
| 2 | Select Edit, add the choice and save. | The codelist shows four choices. |
| 3 | Select Delete. | A Delete CodeList? dialog asks: Are you sure you want to permanently delete this codelist? |
| 4 | Confirm. | The codelist is no longer listed. |
Automated tests (0)
None. An automated test is tied to this case when its title or source cites TC-STU-252. The old tool named studioConfig/codeList.spec.js::TC-05: Edit an existing codelist; studioConfig/codeList.spec.js::TC-06: Delete the codelist (partially automated), which matches no test the suites ran.
Note from the old tool: TC-05 edits a codelist from its row menu by renaming it and asserts the new name; TC-06 deletes it from the row menu through the Delete CodeList confirmation and asserts No codelist. Adding a choice in Edit and the confirmation wording are not asserted.