Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-TABLE-008

A table bar locates the writer and edits rows and columns

As a writer, I see the table actions with text labels above the table and I always know which header or row and which column I am in; I add or delete a row or a column with one button and keep typing where I was; and I scroll down a long table while editing with the row and column buttons within reach.

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. Where paths meet, they share the circle or the step.

path 1: Add a row below the selected one path 2: Delete a row, starts at 2 other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-TABLE-001: A click on a pipe table cell opens a cell editor in placeSwRS-MDOKFSTUDIO-TABLE-0018 teststhe writer clicks a cell and thecell editor opensSwRS-MDOKFSTUDIO-TABLE-048: A labelled table bar above the table tells the position and holds the buttonsSwRS-MDOKFSTUDIO-TABLE-0486 testsa toolbar named Tablerow and column actionsis created directlyabove the table andtells the position ofthe selected cellSwRS-MDOKFSTUDIO-TABLE-055: Row and column buttons add and remove rows and columnsSwRS-MDOKFSTUDIO-TABLE-0553 teststhe writer presses Row below andan empty row is inserted after theselected oneSwRS-MDOKFSTUDIO-TABLE-055: Row and column buttons add and remove rows and columnsSwRS-MDOKFSTUDIO-TABLE-0553 teststhe writer presses Row − and theselected row is deletedSwRS-MDOKFSTUDIO-TABLE-064: The table bar rides down with a tall table and stays visibleSwRS-MDOKFSTUDIO-TABLE-0647 teststhe bar rides down with atall table and staysvisibleSwRS-MDOKFSTUDIO-TABLE-055: Row and column buttons add and remove rows and columnsSwRS-MDOKFSTUDIO-TABLE-0553 testsRow above inserts an empty row above a body rowSwRS-MDOKFSTUDIO-TABLE-055: Row and column buttons add and remove rows and columnsSwRS-MDOKFSTUDIO-TABLE-0553 testsRow above on the header rowSwRS-MDOKFSTUDIO-TABLE-055: Row and column buttons add and remove rows and columnsSwRS-MDOKFSTUDIO-TABLE-0553 testsCol left inserts an empty column to the leftSwRS-MDOKFSTUDIO-TABLE-055: Row and column buttons add and remove rows and columnsSwRS-MDOKFSTUDIO-TABLE-0553 teststhe buttons also edit a plain list-tableSwRS-MDOKFSTUDIO-TABLE-055: Row and column buttons add and remove rows and columnsSwRS-MDOKFSTUDIO-TABLE-0553 testsdisabled buttons and model refusalsA table is shown in edit modeA table is shown in editmodeThe cell editor is openThe cell editor is openThe table bar is shown above the table (paths 1, 2)The table bar is shownabove the table2An empty row is next to the selected oneAn empty row is next tothe selected oneThe selected row is goneThe selected row is gone

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

Behaviours of this use case

SwRS-MDOKFSTUDIO-TABLE-001A click on a pipe table cell opens a cell editor in place 8 testsSwRS-MDOKFSTUDIO-TABLE-048A labelled table bar above the table tells the position and holds the buttons 6 testsSwRS-MDOKFSTUDIO-TABLE-055Row and column buttons add and remove rows and columns 3 testsSwRS-MDOKFSTUDIO-TABLE-064The table bar rides down with a tall table and stays visible 7 tests
SwRS-MDOKFSTUDIO-TABLE-003Row above inserts an empty row above the selected body row superseded superseded by SwRS-MDOKFSTUDIO-TABLE-055 Markdown file
SwRS-MDOKFSTUDIO-TABLE-004Col left inserts an empty column to the left of the selected column superseded superseded by SwRS-MDOKFSTUDIO-TABLE-055 Markdown file
SwRS-MDOKFSTUDIO-TABLE-005The row and column buttons also edit a plain list-table superseded superseded by SwRS-MDOKFSTUDIO-TABLE-055 Markdown file
SwRS-MDOKFSTUDIO-TABLE-118A table cell editor that opens late leaves the focus in a field that took it superseded superseded by SwRS-MDOKFSTUDIO-BLOCK-255 Markdown file