Use case StRS-MDOKFSTUDIO-TABLE-006
Tab, arrows and editing keys work in a table cell
As a writer, I move through a table with the keyboard, cell by cell, and add a row by pressing Tab in the last cell; I use the keys I know in a cell and they edit the cell, not the page or the source document.
Use case diagram
How it is split
This use case (StRS) is reached by one path (the 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 through the cells with the keyboard other outcomeone dot = one scenario checked: nominal boundary refusal
Path 1: Move through the cells with the keyboard
- A cell editor is openSwRS-MDOKFSTUDIO-TABLE-124 Tab in the last cell adds a rowSwRS-MDOKFSTUDIO-TABLE-124 the final save cannot be postedSwRS-MDOKFSTUDIO-TABLE-123 ยท 4 tests the writer presses Tab, Shift+Tab or an arrow key at the edge of the text and the editor moves to the next, previous or neighbouring cell
- The editor is in the neighbouring cell
This map has 10 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 11 scenarios.
Behaviours of this use case
SwRS-MDOKFSTUDIO-BLOCK-003Edit-mode text box follows VS Code undo, redo, select-all and delete-line key bindings not on the map8 testsSwRS-MDOKFSTUDIO-BLOCK-069Marker keys wrap a selection; Home, End, select-all and undo stay in the text box not on the map8 testsSwRS-MDOKFSTUDIO-TABLE-123Tab and the arrow keys move between table cells 4 testsSwRS-MDOKFSTUDIO-TABLE-124Tab in the last cell adds a row and shows the hint 4 testsSwRS-MDOKFSTUDIO-TABLE-125The cell left shows its typed text rendered not on the map4 testsSwRS-MDOKFSTUDIO-TABLE-126The cell editor is revealed in the table's scroll box not on the map1 test
SwRS-MDOKFSTUDIO-TABLE-035Tab and the arrow keys move through the table cells superseded superseded by SwRS-MDOKFSTUDIO-TABLE-123, SwRS-MDOKFSTUDIO-TABLE-124, SwRS-MDOKFSTUDIO-TABLE-125, SwRS-MDOKFSTUDIO-TABLE-126 Markdown file
SwRS-MDOKFSTUDIO-TABLE-044Typing a marker character over a selection in a cell wraps it as one undoable step deprecated deprecated Markdown file
SwRS-MDOKFSTUDIO-TABLE-045Undo and redo shortcuts stay in the cell text box deprecated deprecated Markdown file
SwRS-MDOKFSTUDIO-TABLE-046A key the cell editor handled does not reach VS Code deprecated deprecated Markdown file
SwRS-MDOKFSTUDIO-TABLE-047Select all in the cell text box selects only the box text deprecated deprecated Markdown file