Skip to content

Commit

Permalink
Adjust tags on subadmin scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Sep 2, 2020
1 parent 02a58f9 commit 1199ef8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @skipOnLDAP
@api @provisioning_api-app-required @skipOnLDAP @toImplementOnOCIS
Feature: create a subadmin
As an admin
I want to be able to make a user the subadmin of a group
Expand All @@ -7,7 +7,7 @@ Feature: create a subadmin
Background:
Given using OCS API version "1"

@smokeTest @notToImplementOnOCIS
@smokeTest
Scenario: admin creates a subadmin
Given user "brand-new-user" has been created with default attributes and skeleton files
And group "brand-new-group" has been created
Expand All @@ -16,7 +16,6 @@ Feature: create a subadmin
And the HTTP status code should be "200"
And user "brand-new-user" should be a subadmin of group "brand-new-group"

@notToImplementOnOCIS
Scenario: admin tries to create a subadmin using a user which does not exist
Given user "nonexistentuser" has been deleted
And group "brand-new-group" has been created
Expand All @@ -33,7 +32,6 @@ Feature: create a subadmin
And the HTTP status code should be "200"
And the API should not return any data

@notToImplementOnOCIS
Scenario: subadmin of a group tries to make another user subadmin of their group
Given these users have been created with default attributes and skeleton files:
| username |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @skipOnLDAP
@api @provisioning_api-app-required @skipOnLDAP @toImplementOnOCIS
Feature: create a subadmin
As an admin
I want to be able to make a user the subadmin of a group
Expand All @@ -7,7 +7,7 @@ Feature: create a subadmin
Background:
Given using OCS API version "2"

@smokeTest @notToImplementOnOCIS
@smokeTest
Scenario: admin creates a subadmin
Given user "brand-new-user" has been created with default attributes and skeleton files
And group "brand-new-group" has been created
Expand All @@ -16,7 +16,6 @@ Feature: create a subadmin
And the HTTP status code should be "200"
And user "brand-new-user" should be a subadmin of group "brand-new-group"

@notToImplementOnOCIS
Scenario: admin tries to create a subadmin using a user which does not exist
Given user "nonexistentuser" has been deleted
And group "brand-new-group" has been created
Expand All @@ -32,7 +31,7 @@ Feature: create a subadmin
Then the OCS status code should be "400"
And the HTTP status code should be "400"

@issue-31276 @notToImplementOnOCIS
@issue-31276
Scenario: subadmin of a group tries to make another user subadmin of their group
Given these users have been created with default attributes and skeleton files:
| username |
Expand Down

0 comments on commit 1199ef8

Please sign in to comment.