Files
opencloud/tests/acceptance/features/apiGraph/getApplications.feature

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 API response should contain the following application information:
| key | value |
| displayName | ownCloud Infinite Scale |
| id | %uuid_v4% |
And the user API response should contain the following app roles:
| Admin |
| Space Admin |
| User |
| Guest |
Examples:
| role |
| Admin |
| Space Admin |
| User |
| Guest |