added test for getting group with UTF-8 characters in name

This commit is contained in:
prajwol
2023-03-08 10:35:42 +05:45
parent b8ebc1def0
commit ce9ad277f9
@@ -131,3 +131,35 @@ Feature: get groups and their members
}
}
"""
Scenario Outline: Get details of group with UTF-8 characters name
Given group "<group>" has been created
When user "Alice" gets details of the group "<group>" using the Graph API
Then the HTTP status code should be "200"
And the JSON data of the response should match
"""
{
"type": "object",
"required": [
"displayName",
"id"
],
"properties": {
"displayName": {
"type": "string",
"enum": ["<group>"]
},
"id": {
"type": "string",
"pattern": "^%group_id_pattern%$"
}
}
}
"""
Examples:
| group |
| España§àôœ |
| |
| $x<=>[y*z^2+1]! |
| եòɴԪ˯ΗՐΛɔπ |