Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-LAYOUT-004

The first element starts clear of the top and of the floating toolbar

As a reader or writer, I see every document start at the same comfortable distance below the top, whether it opens with text, a heading, a table, a picture, an admonition, properties or an empty page, and I can click the first block editor, the Start writing button and the properties controls at any pane width without the floating toolbar covering them.

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.

path 1: The first element starts below the top path 2: The toolbar covers the first control other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-LAYOUT-007: The first element starts 40 px below the topSwRS-MDOKFSTUDIO-LAYOUT-0072 teststhe first element starts 40 pxbelow the top of the paneSwRS-MDOKFSTUDIO-LAYOUT-043: Body text keeps clear of the floating toolbarSwRS-MDOKFSTUDIO-LAYOUT-0433 testswhen the floating toolbar overlapsthe column, the first running textwraps outside the toolbar andother blocks start below itSwRS-MDOKFSTUDIO-LAYOUT-011: A control under the floating toolbar is moved or narrowed out of its waySwRS-MDOKFSTUDIO-LAYOUT-0114 teststhe page moves the control down ornarrows it out of the toolbar'swaySwRS-MDOKFSTUDIO-LAYOUT-011: A control under the floating toolbar is moved or narrowed out of its waySwRS-MDOKFSTUDIO-LAYOUT-0114 teststhe page measures the clearanceagain when the window, the toolbaror the width mode changesSwRS-MDOKFSTUDIO-LAYOUT-007: The first element starts 40 px below the topSwRS-MDOKFSTUDIO-LAYOUT-0072 testsother first blocks and theStart writing button followthe same gapSwRS-MDOKFSTUDIO-LAYOUT-043: Body text keeps clear of the floating toolbarSwRS-MDOKFSTUDIO-LAYOUT-0433 testsa toolbar beside the column reserves nothingSwRS-MDOKFSTUDIO-LAYOUT-011: A control under the floating toolbar is moved or narrowed out of its waySwRS-MDOKFSTUDIO-LAYOUT-0114 testsa toolbar beside the columngives a clearance of 0SwRS-MDOKFSTUDIO-LAYOUT-011: A control under the floating toolbar is moved or narrowed out of its waySwRS-MDOKFSTUDIO-LAYOUT-0114 testsa burst of updates is measured in one trailing updateA document opens in read mode or in edit modeA document opens in readmode or in edit modeThe first element is 40 px below the topThe first element is 40px below the topThe first blocks are clear of the floating toolbarThe first blocks areclear of the floatingtoolbarThe floating toolbar covers the first control of the pageThe floating toolbarcovers the first controlof the pageThe first control is clear of the toolbarThe first control isclear of the toolbarThe clearance follows the layoutThe clearance followsthe layout

This map has 46 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 19 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-LAYOUT-007The first element starts 40 px below the top 2 testsSwRS-MDOKFSTUDIO-LAYOUT-011A control under the floating toolbar is moved or narrowed out of its way 4 testsSwRS-MDOKFSTUDIO-LAYOUT-043Body text keeps clear of the floating toolbar 3 tests
SwRS-MDOKFSTUDIO-LAYOUT-008The first element starts 40 px below the top in edit mode superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-007 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-009The open first-block editor keeps the 40 px gap superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-007 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-010The Start writing button starts 40 px below the top superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-007 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-012A first-block editor too narrow to be narrowed is pushed below the toolbar superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-013Collapsing the toolbar measures the clearance again superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-018 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-014A first-block editor gives up the width the toolbar covers superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-015The Start writing button is pushed only when it sits under the toolbar superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-016A leading properties table gives up the toolbar width for its Description toggle superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-017The toolbar bottom edge is published for the sticky palette superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-018 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-018The clearance is measured again after layout events, in bounded bursts superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-019Bursts of clearance updates are limited superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-018 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-037A leading properties table is pushed down for a control under the toolbar superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-042A first-block editor's palette keeps its place unless the frame is under the toolbar superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file