Behaviour SwRS-MDOKFSTUDIO-CORE-080
The site requirements viewer has an area page and a use case list
When a maintainer builds the Pages site from the okfreq report, the build SHALL write the Requirements home with the three layers, the areas and the figures, and one page per active area that lists the use cases of the area, each use case shown with its full ID, without a page for a retired requirement.
Step 2 of path 1 in StRS-MDOKFSTUDIO-CORE-008: from “The reviewer picks an area” to “The reviewer reads a use case”.
Scenarios 2
The situations the tests check; open one to read it.
nominalActive areas and use cases
Givena report with an active area holding 2 active use cases and 1 superseded one
Whenthe site is built
Thenrequirements/ holds the home with the 3 layers and the areas, requirements/{area}/ lists the 2 use cases, each link showing the full ID of the use case (StRS-MDOKFSTUDIO-GFM-001, not GFM-001), requirements/{area}/{StRS}/ exists for each active use case and no folder exists for the superseded one; every link is relative and resolves from every depth
refusalRetired use case
Givena superseded use case of an area
Whenthe History button is off
Thenthe area page keeps its row in the page but hides it, and the row names its replacement with a link