Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-TRUST-086

The warning banner close message has a bounded key

When the host receives previewWarningBannerClosed, it SHALL accept it only if its key has at most 32 characters and is made of lower-case letters and digits, a hyphen and eight hexadecimal digits.

Part of StRS-MDOKFSTUDIO-TRUST-009, outside the paths drawn on its map.

Scenarios 2

The situations the tests check; open one to read it.

nominalValid key
Givena previewWarningBannerClosed message with key abc12-0123abcd
Whenit is checked
Thenit is accepted
refusalInvalid key
InputOutcome
a key of 33 charactersrefused
a key without the hyphenrefused
a key with upper-case lettersrefused

A refused message is ignored without a visible change (see SwRS-MDOKFSTUDIO-TRUST-052).

Implemented in 1

Tested by 1