Use case StRS-MDOKFSTUDIO-GFM-005
A writer or reviewer decides between the options of a plan with one click
As a reviewer of an agent's plan, I pick one of the '( )'/'(x)' options in the preview and at most two source lines change in one undo step; on GitHub the text stays readable.
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: Choose a radio option other outcomeone dot = one scenario checked: nominal boundary refusal
Path 1: Choose a radio option
- A list holds consecutive items that start with '( )' or '(x)'SwRS-MDOKFSTUDIO-GFM-040 only consecutive items form a groupSwRS-MDOKFSTUDIO-GFM-040 · 4 tests the page renders them as one radio group
- The items are shown as a radio groupSwRS-MDOKFSTUDIO-GFM-041 an open editor or a refused choice writes nothingSwRS-MDOKFSTUDIO-GFM-041 · 6 tests a click on an unselected option writes '(x)' on it and '( )' on the previous one, as one undo step
- The chosen option is selected
This map has 17 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 2 behaviours on the map are tested one by one, with 6 scenarios.