Behaviour SwRS-MDOKFSTUDIO-CORE-092
The site requirements viewer finds a requirement by its ID
When a reader types the full ID, the short ID or the bare number of a use case or a behaviour in the search of the site requirements viewer, in any case and with or without the leading zeros of its number, the page SHALL list the requirements that ID names before any other hit, and Enter SHALL open the first.
Part of StRS-MDOKFSTUDIO-CORE-008, outside the paths drawn on its map.
Scenarios 5
The situations the tests check; open one to read it.
nominalFull ID, short ID, any case
Givena use case and a behaviour that share the number 14 in an area
Whenthe reader types the full ID, the full ID in other letter cases, the short ID or the short ID with its number written without the leading zero
Thenthe use case is listed first and the behaviour right under it for a short ID, only the requirement of that tier for a full ID, and Enter opens the first
boundaryA number is not a text hit of another number
Givenrequirements numbered 14 and 140 in the same area
Whenthe reader types the short ID with the number 14
Thenthe requirement numbered 14 is listed first, and the one numbered 140 comes only after it as a text hit
boundaryA short ID shared by a use case and a behaviour
Givena short ID that names both a use case and a behaviour
Whenthe reader types it and presses Enter
Thenthe use case is listed first, the behaviour right under it, and Enter opens the use case
nominalA bare number
Givenrequirements numbered 14 in several areas and a behaviour whose title holds the text 14
Whenthe reader types 14 or 014
Thenevery requirement numbered 14 is listed first, before any text hit, the list stops at 30 entries counting them first, and no requirement numbered 140 or 114 is one of them
refusalA retired ID
Givena retired requirement and the History button off
Whenthe reader types its ID
Thenit is not listed, and it is listed once History is on