Test cases › Studio › Blocks on the canvas
TC-STU-152 Deleting a block asks for confirmation and removes it 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.
- Test data
- A section in a draft form that may be deleted.
- Passes when
- A confirmed delete removes the block and it stays removed.
- Source
- Implementation (UI)
Steps
| # | Step | Expected result |
|---|---|---|
| 1 | Open the row menu of a section in a draft form and select Delete. | A Delete dialog reads Are you sure you want to delete "<name>"? |
| 2 | Select Delete. | The dialog closes and the section is no longer on the canvas. |
| 3 | Reload the page. | The section is still gone. |
Automated tests (0)
None. An automated test is tied to this case when its title or source cites TC-STU-152. The old tool named studioConfig/section.spec.js::TC-13: Delete the section; studioConfig/table.spec.js::TC-11: Delete the table; studioConfig/form.spec.js::TC-10: Delete the form; studioConfig/questions.spec.js::TC-06: Delete the question (partially automated), which matches no test the suites ran.
Note from the old tool: Each test deletes through the row menu and its confirmation and asserts the block is gone; only the question delete reloads before asserting. No test deletes a section from a form on the canvas, reloads after deleting a section, or asserts the confirmation wording.