add Graph API tests for editign group display name (#5101)

This commit is contained in:
Sawjan Gurung
2022-11-24 10:28:27 +01:00
committed by GitHub
parent b7945336a2
commit 13452e48cb
3 changed files with 70 additions and 0 deletions
@@ -0,0 +1,25 @@
@api @skipOnOcV10
Feature: edit group name
As an admin
I want to be able to edit group name
So that I can manage group name
Background:
Given user "Alice" has been created with default attributes and without skeleton files
And the administrator has given "Alice" the role "Admin" using the settings api
@issue-5099
Scenario Outline: admin user renames a group
Given group "<old_group>" has been created
When user "Alice" renames group "<old_group>" to "<new_group>" using the Graph API
Then the HTTP status code should be "204"
And group "<old_group>" should not exist
And group "<new_group>" should exist
Examples:
| old_group | new_group |
| grp1 | grp101 |
| grp1 | España§àôœ |
| grp1 | |
| grp1 | $x<=>[y*z^2]! |
| grp1 | staff?group |
| grp1 | 50%pass |