Complete worked example
json
{
"given": "Roles r1-r4 from the local fixture",
"when": {
"country": "UA",
"q": " QA "
},
"then": {
"ids": [
"r1"
]
},
"rule": "Country AND normalized title query"
}- Reasoning
- The criterion supplies both the normalization rule and the exact expected ids.