Test cases › Studio › The block picker
TC-STU-135 Choosing a block type lists the existing published blocks of that type to add High
revision 1 · last changed 7d 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 at least one section and at least two published questions in the configuration.
- Passes when
- The chosen existing question is added to the section.
- Source
- Live observation; Implementation (UI)
Steps
| # | Step | Expected result |
|---|---|---|
| 1 | Open Add New Block and select Question. | The configuration's published questions are listed. |
| 2 | Select one question. | The question's details open ready to be added, showing its text and category. |
| 3 | Save the question into the section. | The question appears in the section on the canvas. |
Automated tests (0)
None. An automated test is tied to this case when its title or source cites TC-STU-135. The old tool named studioConfig/createProtocolFromJson.spec.js::TC-06: Create all sections with nodes and flags from JSON; studioConfig/createAllAddToVisit.spec.js::TC-12: Add existing question to table inside visit, verify question refcount (partially automated), which matches no test the suites ran.
Note from the old tool: Both tests pick an existing question from the block picker and assert it then appears in the section (createProtocolFromJson TC-06) or table (createAllAddToVisit TC-12). They do not assert what the picker lists (only the configuration's published questions) or that the chosen question opens showing its text and category.