Behaviour SwRS-MDOKFSTUDIO-CORE-091
The site requirements viewer plays a path of a use case map
When the reader presses Play path N on a use case map, the viewer SHALL light, in path order, every step of path N and every state at their ends, the steps and states that path N shares with other paths included, with a token in the colour of path N, and when the reader has asked for reduced motion it SHALL do nothing.
Part of StRS-MDOKFSTUDIO-CORE-008, outside the paths drawn on its map.
Scenarios 2
The situations the tests check; open one to read it.
nominalPlay a path through joined states
Giventhe map of a use case with three paths, where path 2 shares its last two states and its last two steps with path 1, and Chromium with motion allowed
Whenthe reader presses "Play path 2"
Thenthe three steps of path 2 are lit, in the order of path 2, shared ones included, with the four states at their ends, and a token in the colour of path 2 walks them
boundaryReduced motion
Giventhe same map, and the reader's system asking for reduced motion
Whenthe reader presses "Play path 2"
Thenno step and no state is lit and no token moves