Files
opencloud/tests/acceptance/features/apiGraph/getApplications.feature
Swikriti Tripathi 6281d132d8 update grammar
2023-04-20 15:32:16 +05:45

30 lines
1.1 KiB
Gherkin

@api @skipOnOcV10 @skipOnStable2.0
Feature: get applications
As a user
I want to be able to get application information with existing roles
So that I can see which role belongs to what user
Background:
Given user "Alice" has been created with default attributes and without skeleton files
Scenario Outline: admin user lists all the groups
Given the administrator has given "Alice" the role "<role>" using the settings api
When user "Alice" gets all applications using the Graph API
Then the HTTP status code should be "200"
And the user retrieve API response should contain the following applications information:
| key | value |
| displayName | ownCloud Infinite Scale |
| id | %uuid_v4% |
And the user retrieve API response should contain the following app roles:
| Admin |
| Space Admin |
| User |
| Guest |
Examples:
| role |
| Admin |
| Space Admin |
| User |
| Guest |