From ce9ad277f98e84544cf055b0775658895152eacb Mon Sep 17 00:00:00 2001 From: prajwol Date: Wed, 8 Mar 2023 10:35:42 +0545 Subject: [PATCH] added test for getting group with UTF-8 characters in name --- .../features/apiGraph/getGroup.feature | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/acceptance/features/apiGraph/getGroup.feature b/tests/acceptance/features/apiGraph/getGroup.feature index e48c2ea2fe..1696562278 100644 --- a/tests/acceptance/features/apiGraph/getGroup.feature +++ b/tests/acceptance/features/apiGraph/getGroup.feature @@ -131,3 +131,35 @@ Feature: get groups and their members } } """ + + + Scenario Outline: Get details of group with UTF-8 characters name + Given group "" has been created + When user "Alice" gets details of the 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": [""] + }, + "id": { + "type": "string", + "pattern": "^%group_id_pattern%$" + } + } + } + """ + Examples: + | group | + | España§àôœ€ | + | नेपाली | + | $x<=>[y*z^2+1]! | + | եòɴԪ˯ΗՐΛɔπ |