Use case StRS-MDOKFSTUDIO-THEME-011
A reader zooms the text and the column and keeps the zoom
As a reader, I enlarge or shrink the text with two buttons, the column grows or shrinks with it, I always see the zoom the next click gives, and I stay on the text I was reading; I set the text size once and the previews of this workspace open at that size, also after reloading the window or closing and reopening the preview.
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: Zoom in and keep the zoom other outcomeone dot = one scenario checked: nominal boundary refusal
Path 1: Zoom in and keep the zoom
- The page is shown at a zoomSwRS-MDOKFSTUDIO-THEME-038 at the last step the button is disabled at its limitSwRS-MDOKFSTUDIO-THEME-038 a click at a limit changes nothingSwRS-MDOKFSTUDIO-THEME-038 · 2 tests the reader presses Zoom in, which changes the zoom by 10 points
- The zoom has changedSwRS-MDOKFSTUDIO-THEME-043 · 4 tests the content font size and the content column width are set from the zoom, never wider than the pane
- The text and the column are scaled togetherSwRS-MDOKFSTUDIO-LIFE-169 · 15 tests the host stores the zoom for the workspace
- The zoom is storedSwRS-MDOKFSTUDIO-LIFE-170 the zoom is rounded to the grid and clampedSwRS-MDOKFSTUDIO-LIFE-170 · 14 tests the preview opens again at the saved zoom
- The page opens at the zoom the reader chose
This map has 5,820 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 33 scenarios.
Behaviours of this use case
SwRS-MDOKFSTUDIO-THEME-038Zoom in and out change the zoom by 10 points within limits 2 testsSwRS-MDOKFSTUDIO-THEME-043Zoom scales the text and the column without a redraw 4 tests
SwRS-MDOKFSTUDIO-THEME-055A zoom that cannot be saved still holds for the session deprecated deprecated Markdown file
SwRS-MDOKFSTUDIO-TOOLBAR-013The host accepts only a known view preference with a valid value superseded superseded by SwRS-MDOKFSTUDIO-LIFE-169 Markdown file