-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
30 changes: 15 additions & 15 deletions
30
test/cucumber-tests/src/test/resources/tests/api/Visibility.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Feature: API Visibility and Access Control | ||
Scenario: View APIs with a groups claim and API view scope in the access token | ||
Given The system is ready | ||
And I have a valid subscription with groups | ||
| group1 | | ||
When I make the GET APIs call to the backoffice | ||
Then the response status code should be 200 | ||
And the response body should contain "\"count\":0" | ||
# Feature: API Visibility and Access Control | ||
# Scenario: View APIs with a groups claim and API view scope in the access token | ||
# Given The system is ready | ||
# And I have a valid subscription with groups | ||
# | group1 | | ||
# When I make the GET APIs call to the backoffice | ||
# Then the response status code should be 200 | ||
# And the response body should contain "\"count\":0" | ||
|
||
Scenario: View APIs without a groups claim in the access token | ||
Given The system is ready | ||
And I have a valid subscription with scopes | ||
| apk:api_view | | ||
When I make the GET APIs call to the backoffice | ||
Then the response status code should be 200 | ||
And the response body should contain "\"count\":0" | ||
# Scenario: View APIs without a groups claim in the access token | ||
# Given The system is ready | ||
# And I have a valid subscription with scopes | ||
# | apk:api_view | | ||
# When I make the GET APIs call to the backoffice | ||
# Then the response status code should be 200 | ||
# And the response body should contain "\"count\":0" |