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:06:12.
› →|
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 › Questions in the editor

TC-STU-174 Creating a question checks text, decimals, range, variable name and codelist 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 section and no Yes/No questions. In a CRO organization a variable name is entered with the question text, because a new question starts with EDC on.
Test data
Values in the steps below.
Passes when
The question is not saved while any of these errors remain.
Source
Live observation; Implementation (UI); back end confirms · verified 2026-10-06

Steps

#StepExpected result
1Start a new question in the section and leave the question text empty.Save stays disabled while the question text is empty.
2Enter text, choose Number, set Decimal Places to its empty choice and save.This is required field. is shown under Decimal Places.
3Choose 0 (Whole numbers), set Min to 10 and Max to 5 and save.Invalid range, min value must be less than max value is shown.
4Change the category to Single Select and save without a codelist.Please select a codelist. is shown.
5Enter a variable name with a space and save.Only alphanumeric characters, underscores (_) and colons (:) are allowed. is shown under Variable Name.

Automated tests (0)

None. An automated test is tied to this case when its title or source cites TC-STU-174. The old tool named automation/tests/studiosvc/test_questions.py::TestStudioQuestions::test_cannot_create_question_with_empty_title; automation/tests/studiosvc/test_questions.py::TestStudioQuestions::test_create_question_with_invalid_type (partially automated), which matches no test the suites ran.

Note from the old tool: The API tests assert the server refuses a question with no text or an unknown type. Nothing asserts that Save stays disabled without text, or the on-screen messages for missing decimal places, an inverted range, a missing codelist or a malformed variable name.