Files
QSfera/Server/tests/acceptance/features/apiGraph/getApplications.feature
Курнат Андрей 2315f25754 Initial QSfera import
2026-06-07 10:20:04 +03:00

29 lines
977 B
Gherkin
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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
Scenario Outline: admin user lists all the groups
Given the administrator has assigned the role "<user-role>" to user "Alice" using the Graph 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 | КуСфера |
| id | %uuid_v4% |
And the user API response should contain the following app roles:
| Admin |
| Space Admin |
| User |
| User Light |
Examples:
| user-role |
| Admin |
| Space Admin |
| User |
| User Light |