Use case StRS-MDOKFSTUDIO-TOOLBAR-001
The toolbar groups its controls, collapses and remembers its collapsed state
As a reader, I find the preview controls in four clear rows. I fold the toolbar down to its first row to free the top of the pane and unfold it again, and a collapsed toolbar stays collapsed when I reopen a preview of the same workspace, in Restricted Mode and for a standalone file too. The toolbar and its tooltips move softly (not at all when my system asks for reduced motion), and a newly opened collapsed toolbar shows briefly that it can expand. My other view choices (zoom, width, table of contents, incoming-change marks, comments) are kept by the rule of the previews that come back after a reload.
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: Collapse the toolbar and find it collapsed other outcomeone dot = one scenario checked: nominal boundary refusal
Path 1: Collapse the toolbar and find it collapsed
- A preview page is builtSwRS-MDOKFSTUDIO-TOOLBAR-001 · 5 tests the toolbar is drawn as four rows of titled buttons, inside the pane and without overlap
- The toolbar is expandedSwRS-MDOKFSTUDIO-TOOLBAR-007 when collapsed, the hidden rows are out of the Tab orderSwRS-MDOKFSTUDIO-TOOLBAR-007 · 2 tests the reader presses the collapse button and the rows of navigation and view are hidden
- The toolbar is collapsedSwRS-MDOKFSTUDIO-LIFE-169 a message with a value that is not a boolean is dropped without an answerSwRS-MDOKFSTUDIO-LIFE-170 a stored value that is not valid is skipped and the next source is usedSwRS-MDOKFSTUDIO-TOOLBAR-007 · 2 tests the collapsed choice is kept for the workspace and a new page starts from it
- A new preview of the workspace opens collapsedSwRS-MDOKFSTUDIO-TOOLBAR-130 · 3 tests the rows unroll once and roll up again, and a load hint shows that the toolbar can expand, without changing the saved choice
- The toolbar is collapsed and shows that it can expand
This map has 931 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 5 behaviours on the map are tested one by one, with 34 scenarios.
Behaviours of this use case
SwRS-MDOKFSTUDIO-TOOLBAR-001The toolbar has four rows of four titled buttons that float over the page 5 testsSwRS-MDOKFSTUDIO-TOOLBAR-007The chevron collapses the toolbar to its first row 2 testsSwRS-MDOKFSTUDIO-TOOLBAR-129Toolbar, edit bar and table menu tooltips slide in from the left not on the map1 testSwRS-MDOKFSTUDIO-TOOLBAR-130The toolbar rows unroll as one block and a load hint shows them 3 testsSwRS-MDOKFSTUDIO-TRUST-005The host handles the page messages of every preview, whatever the trust not on the map17 tests
SwRS-MDOKFSTUDIO-TOOLBAR-013The host accepts only a known view preference with a valid value superseded superseded by SwRS-MDOKFSTUDIO-LIFE-169 Markdown file
SwRS-MDOKFSTUDIO-TRUST-006A preview with restricted reads keeps every viewing action superseded superseded by SwRS-MDOKFSTUDIO-TRUST-005 Markdown file