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
Path 1: Export the page to HTML
- A preview page is shownSwRS-MDOKFSTUDIO-TOOLBAR-135 a modal warning lists the relative, wiki or blocked links, which are written as plain text, before the save dialogSwRS-MDOKFSTUDIO-TOOLBAR-134 · 6 tests the writer presses Export, and the extension asks where to save the file
- The place to save is chosenSwRS-MDOKFSTUDIO-TOOLBAR-134 the dialog is cancelled and nothing is writtenSwRS-MDOKFSTUDIO-TOOLBAR-136 · 5 tests the file is written with the styles, the theme and width and the local images, without any script
- The styles, the theme and the images are embeddedSwRS-MDOKFSTUDIO-TOOLBAR-137 · 5 tests the content is written as the reader sees it, with every section unfolded and without review comments or editing controls
- The 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