Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-TABLE-015

A writer formats the text of a table cell

As a writer, I format text in a table cell from the bar, with a shortcut or from the slash menu as simply as in a paragraph, and the table keeps its shape.

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: Format the text of a cell other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-TABLE-085: The table bar's cell group formats the cell textSwRS-MDOKFSTUDIO-TABLE-0854 teststhe writer presses a button of theCell formatting group of the tablebar and it applies to the celltextSwRS-MDOKFSTUDIO-TABLE-018: Enter, Done, leaving the cell or a click elsewhere commits the cellSwRS-MDOKFSTUDIO-TABLE-0185 teststhe writer presses Enter or Doneand the cell is committedSwRS-MDOKFSTUDIO-TABLE-085: The table bar's cell group formats the cell textSwRS-MDOKFSTUDIO-TABLE-0854 testsa block-only shortcut doesnothing in the cellSwRS-MDOKFSTUDIO-TABLE-085: The table bar's cell group formats the cell textSwRS-MDOKFSTUDIO-TABLE-0854 teststhe slash menu of a celloffers the commands allowedin a cellSwRS-MDOKFSTUDIO-TABLE-091: Pipes in cell text are escaped and line breaks become spacesSwRS-MDOKFSTUDIO-TABLE-0914 testspipes of link text and URL inserted from the bar are writtenas \|A cell editor is openA cell editor is openThe cell text is formattedThe cell text isformattedThe cell is saved with its formatted textThe cell is saved withits formatted text

This map has 82 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 3 behaviours on the map are tested one by one, with 20 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-TABLE-018Enter, Done, leaving the cell or a click elsewhere commits the cell 5 testsSwRS-MDOKFSTUDIO-TABLE-085The table bar's cell group formats the cell text 4 testsSwRS-MDOKFSTUDIO-TABLE-091Pipes in cell text are escaped and line breaks become spaces 4 tests