Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-TOOLBAR-014

A writer shares one page as a self-contained HTML file

As a writer, I send a rendered page, with its theme, diagrams and properties, to a reader who has no editor, as one file that needs nothing else to open.

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: Export the page to HTML other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-TOOLBAR-134: Export to HTML is a command and a toolbar button that save one fileSwRS-MDOKFSTUDIO-TOOLBAR-1346 teststhe writer presses Export, and theextension asks where to save thefileSwRS-MDOKFSTUDIO-TOOLBAR-136: The exported file is self-contained and needs no scriptSwRS-MDOKFSTUDIO-TOOLBAR-1365 teststhe file is written with thestyles, the theme and width andthe local images, without anyscriptSwRS-MDOKFSTUDIO-TOOLBAR-137: The exported page shows the content without comments or editing controlsSwRS-MDOKFSTUDIO-TOOLBAR-1375 teststhe content is written as thereader sees it, with every sectionunfolded and without reviewcomments or editing controlsSwRS-MDOKFSTUDIO-TOOLBAR-135: Export removes links to other files after a warningSwRS-MDOKFSTUDIO-TOOLBAR-1355 testsa modal warning lists therelative, wiki or blockedlinks, which are written asplain text, before the savedialogSwRS-MDOKFSTUDIO-TOOLBAR-134: Export to HTML is a command and a toolbar button that save one fileSwRS-MDOKFSTUDIO-TOOLBAR-1346 teststhe dialog is cancelled and nothing is writtenA preview page is shownA preview page is shownThe place to save is chosenThe place to save ischosenThe styles, the theme and the images are embeddedThe styles, the themeand the images areembeddedThe HTML file is writtenThe HTML file is written

This map has 44 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 12 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-DIAG-128Exported diagrams are drawn images in the theme of the file not on the map2 testsSwRS-MDOKFSTUDIO-FMSCHEMA-091The exported properties table opens on a click not on the map3 testsSwRS-MDOKFSTUDIO-TOOLBAR-134Export to HTML is a command and a toolbar button that save one file 6 testsSwRS-MDOKFSTUDIO-TOOLBAR-135Export removes links to other files after a warning 5 testsSwRS-MDOKFSTUDIO-TOOLBAR-136The exported file is self-contained and needs no script 5 testsSwRS-MDOKFSTUDIO-TOOLBAR-137The exported page shows the content without comments or editing controls 5 tests