Remove skipOnStable2.0 tag (#6959)

This commit is contained in:
Swikriti Tripathi
2023-08-04 02:51:30 +05:45
committed by GitHub
parent 4a4bf3ec30
commit 389877e56d
8 changed files with 36 additions and 40 deletions
@@ -1,4 +1,4 @@
@api @skipOnStable2.0
@api
Feature: assign role
As an admin,
I want to assign roles to users.
@@ -34,12 +34,8 @@ Feature: create user
| name.with.dots | user | name.w.dots@example.org | 123 | 200 | true | should |
| 123456789 | user | 123456789@example.org | 123 | 400 | true | should not |
| 0.0 | user | float@example.org | 123 | 400 | true | should not |
@skipOnStable2.0
Examples:
| userName | displayName | email | password | code | enable | shouldOrNot |
| withoutEmail | without email | | 123 | 200 | true | should |
| Alice | same userName | new@example.org | 123 | 409 | true | should |
| withoutEmail | without email | | 123 | 200 | true | should |
| Alice | same userName | new@example.org | 123 | 409 | true | should |
Scenario: user cannot be created with empty name
@@ -82,7 +78,7 @@ Feature: create user
| accountEnabled | true |
Then the HTTP status code should be "409"
@skipOnStable2.0
Scenario: user can be created with the name of the deleted user
Given user "Brian" has been created with default attributes and without skeleton files
And the administrator has assigned the role "Admin" to user "Alice" using the Graph API
@@ -129,7 +125,7 @@ Feature: create user
When the administrator retrieves the assigned role of user "sam" using the Graph API
Then the HTTP status code should be "200"
And the Graph API response should have no role
@env-config
Scenario: create user with setting OCIS assign the default user role
@@ -43,7 +43,7 @@ Feature: edit user
| empty mail | | 400 | brian@example.com |
| change to a invalid email | invalidEmail | 400 | brian@example.com |
@skipOnStable2.0 @issue-5763
@issue-5763
Scenario Outline: admin user can edit another user's name
Given user "Carol" has been created with default attributes and without skeleton files
When the user "Alice" changes the user name of user "Carol" to "<userName>" using the Graph API
@@ -70,7 +70,7 @@ Feature: edit user
| change to existing user name | Brian | 409 | Brian |
| empty user name | | 400 | Brian |
@skipOnStable2.0
Scenario: admin user changes the name of a user to the name of an existing disabled user
Given the user "Alice" has created a new user using the Graph API with the following settings:
| userName | sam |
@@ -96,7 +96,7 @@ Feature: edit user
}
"""
@skipOnStable2.0
Scenario: admin user changes the name of a user to the name of a previously deleted user
Given the user "Alice" has created a new user using the Graph API with the following settings:
| userName | sam |
@@ -318,7 +318,7 @@ Feature: edit user
| User Light | User Light |
| User Light | Admin |
@skipOnStable2.0
Scenario: admin user disables another user
When the user "Alice" disables user "Brian" using the Graph API
Then the HTTP status code should be "200"
@@ -360,7 +360,7 @@ Feature: edit user
}
"""
@skipOnStable2.0
Scenario Outline: normal user should not be able to disable another user
Given user "Carol" has been created with default attributes and without skeleton files
And the administrator has assigned the role "<role>" to user "Brian" using the Graph API
@@ -409,7 +409,7 @@ Feature: edit user
| User |
| User Light |
@skipOnStable2.0
Scenario: admin user enables disabled user
Given the user "Alice" has disabled user "Brian" using the Graph API
When the user "Alice" enables user "Brian" using the Graph API
@@ -452,7 +452,7 @@ Feature: edit user
}
"""
@skipOnStable2.0
Scenario Outline: normal user should not be able to enable another user
Given user "Carol" has been created with default attributes and without skeleton files
And the user "Alice" has disabled user "Carol" using the Graph API
@@ -1,4 +1,4 @@
@api @skipOnStable2.0
@api
Feature: get applications
As a user
I want to be able to get application information with existing roles
@@ -13,9 +13,9 @@ Feature: get applications
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% |
| key | value |
| displayName | ownCloud Infinite Scale |
| id | %uuid_v4% |
And the user API response should contain the following app roles:
| Admin |
| Space Admin |
@@ -10,7 +10,7 @@ Feature: get users
| Alice |
| Brian |
@skipOnStable2.0
Scenario: admin user gets the information of a user
Given the administrator has assigned the role "Admin" to user "Alice" using the Graph API
When user "Alice" gets information of user "Brian" using Graph API
@@ -93,7 +93,7 @@ Feature: get users
| User Light | User Light |
| User Light | Admin |
@skipOnStable2.0
Scenario: admin user gets all users
Given the administrator has assigned the role "Admin" to user "Alice" using the Graph API
When user "Alice" gets all users using the Graph API
@@ -159,7 +159,7 @@ Feature: get users
}
"""
@skipOnStable2.0
Scenario: admin user gets all users include disabled users
Given the administrator has assigned the role "Admin" to user "Alice" using the Graph API
And the user "Alice" has disabled user "Brian" using the Graph API
@@ -258,7 +258,7 @@ Feature: get users
| User |
| User Light |
@skipOnStable2.0
Scenario: admin user gets the drive information of a user
Given the administrator has assigned the role "Admin" to user "Alice" using the Graph API
When the user "Alice" gets user "Brian" along with his drive information using Graph API
@@ -381,7 +381,7 @@ Feature: get users
}
"""
@skipOnStable2.0
Scenario Outline: non-admin user gets his/her own drive information
Given the administrator has assigned the role "<userRole>" to user "Brian" using the Graph API
When the user "Brian" gets his drive information using Graph API
@@ -509,7 +509,7 @@ Feature: get users
| User |
| User Light |
@skipOnStable2.0
Scenario: admin user gets the group information of a user
Given the administrator has assigned the role "Admin" to user "Alice" using the Graph API
And group "tea-lover" has been created
@@ -617,7 +617,7 @@ Feature: get users
| User Light | User Light |
| User Light | Admin |
@skipOnStable2.0
Scenario: admin user gets all users of certain groups
Given the administrator has assigned the role "Admin" to user "Alice" using the Graph API
And user "Carol" has been created with default attributes and without skeleton files
@@ -751,7 +751,7 @@ Feature: get users
And the JSON data of the response should not contain the user "Alice Hansen" in the item 'value'
@skipOnStable2.0
Scenario: admin user gets all users of two groups
Given the administrator has assigned the role "Admin" to user "Alice" using the Graph API
And user "Carol" has been created with default attributes and without skeleton files
@@ -825,7 +825,7 @@ Feature: get users
"""
But the JSON data of the response should not contain the user "Carol King" in the item 'value'
@skipOnStable2.0
Scenario Outline: non admin user tries to get users of certain groups
Given the administrator has assigned the role "Admin" to user "Alice" using the Graph API
And the administrator has assigned the role "<role>" to user "Brian" using the Graph API
@@ -860,7 +860,7 @@ Feature: get users
| User |
| User Light |
@skipOnStable2.0
Scenario: admin user gets all users with certain roles and members of a certain group
Given the administrator has assigned the role "Admin" to user "Alice" using the Graph API
And user "Carol" has been created with default attributes and without skeleton files
@@ -965,7 +965,7 @@ Feature: get users
"""
But the JSON data of the response should not contain the user "Carol King" in the item 'value'
@skipOnStable2.0
Scenario Outline: non-admin user tries to get users with a certain role
Given the administrator has assigned the role "<userRole>" to user "Alice" using the Graph API
When the user "Alice" gets all users with role "<role>" using the Graph API