[tests-only][full-ci] removed a scenario and added a example table (#7076)

* removing the scenario and adding a example table

* removing the scenario and adding a example table
This commit is contained in:
nirajacharya2 authored and GitHub committed 2023-08-21 15:32:19 +05:45
1 parent 251a50dbd4
commit d623575db2
2 files changed
+7 -12

No files matched your search

@@ -298,7 +298,7 @@ cannot share a folder with create permission
#### [Empty OCS response for a share create request using a disabled user](https://github.com/owncloud/ocis/issues/2212)
- [coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature:21](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature#L21)
- [coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature:12](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature#L12)
- [coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature:22](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature#L22)
#### [Edit user share response has a "name" field](https://github.com/owncloud/ocis/issues/1225)
@@ -9,19 +9,14 @@ Feature: share resources with a disabled user
And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/textfile0.txt"
@issue-2212
Scenario: creating a new share with a disabled user
Given using OCS API version "1"
And user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has been disabled
When user "Alice" shares file "textfile0.txt" with user "Brian" using the sharing API
Then the OCS status code should be "997"
And the HTTP status code should be "401"
Scenario: creating a new share with a disabled user
Given using OCS API version "2"
Scenario Outline: creating a new share with a disabled user
Given using OCS API version "<ocs-api-version>"
And user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has been disabled
When user "Alice" shares file "textfile0.txt" with user "Brian" using the sharing API
Then the OCS status code should be "997"
And the HTTP status code should be "401"
Examples:
| ocs-api-version |
| 1 |
| 2 |