Use case StRS-MDOKFSTUDIO-TABLE-002
A table row or column moves by its handle in edit mode
As a writer, I reorder the rows and the columns of a table by dragging a handle, or with the keyboard, without cutting and pasting lines or cells, and one undo puts them back.
Use case diagram
How it is split
This use case (StRS) is reached by 2 paths, one per coloured line. A path goes from one situation (circle) to the next; each step (pill) is a behaviour (SwRS) with its own tests.
path 1: Move a row path 2: Move a column other outcomeone dot = one scenario checked: nominal boundary refusal
Path 1: Move a row
- A table is shown in edit mode with a handle beside each body rowSwRS-MDOKFSTUDIO-TABLE-002 a table or state without a row moveSwRS-MDOKFSTUDIO-TABLE-002 · 7 tests the writer drags the handle onto another row, or presses Alt+Up or Alt+Down, and the row moves as one source edit with the header rows kept
- The row is at its new position
Path 2: Move a column
- A table is shown in edit mode with a handle above each columnSwRS-MDOKFSTUDIO-TABLE-007 a table or state without a column moveSwRS-MDOKFSTUDIO-TABLE-007 · 6 tests the writer drags the handle onto another column, or presses Alt+Left or Alt+Right, and the column moves
- The column is at its new position
This map has 12 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 2 behaviours on the map are tested one by one, with 19 scenarios.