test: fix issue numbers

This commit is contained in:
Saw-jan
2024-08-12 17:43:46 +05:45
parent cd912a56c1
commit 1784577fe7
10 changed files with 29 additions and 40 deletions

View File

@@ -70,7 +70,7 @@ _ocdav: api compatibility, return correct status code_
- [coreApiAuth/webDavMKCOLAuth.feature:42](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavMKCOLAuth.feature#L42)
- [coreApiAuth/webDavMKCOLAuth.feature:53](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavMKCOLAuth.feature#L53)
#### [trying to lock file of another user gives http 200](https://github.com/owncloud/ocis/issues/2176)
#### [trying to lock file of another user gives http 500](https://github.com/owncloud/ocis/issues/2176)
- [coreApiAuth/webDavLOCKAuth.feature:46](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavLOCKAuth.feature#L46)
- [coreApiAuth/webDavLOCKAuth.feature:58](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavLOCKAuth.feature#L58)
@@ -82,12 +82,7 @@ _ocdav: api compatibility, return correct status code_
- [coreApiAuth/webDavPOSTAuth.feature:46](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavPOSTAuth.feature#L46)
- [coreApiAuth/webDavPOSTAuth.feature:55](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavPOSTAuth.feature#L55)
#### Another users space literally does not exist because it is not listed as a space for him, 404 seems correct, expects 403
- [coreApiAuth/webDavPUTAuth.feature:46](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavPUTAuth.feature#L46)
- [coreApiAuth/webDavPUTAuth.feature:58](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiAuth/webDavPUTAuth.feature#L58)
#### [[old/new/spaces] In ocis and oc10, REPORT request response differently](https://github.com/owncloud/ocis/issues/4712)
#### [Missing properties in REPORT response](https://github.com/owncloud/ocis/issues/9780), [REPORT response has different date format for d:getlastmodified](https://github.com/owncloud/ocis/issues/9781), [d:getetag property has empty value in REPORT response](https://github.com/owncloud/ocis/issues/9783)
- [coreApiWebdavOperations/search.feature:180](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavOperations/search.feature#L180)
- [coreApiWebdavOperations/search.feature:181](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavOperations/search.feature#L181)
@@ -100,13 +95,13 @@ _ocdav: api compatibility, return correct status code_
- [coreApiFavorites/favorites.feature:101](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L101)
- [coreApiFavorites/favorites.feature:102](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L102)
- [coreApiFavorites/favorites.feature:103](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L103)
- [coreApiFavorites/favorites.feature:124](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L124)
- [coreApiFavorites/favorites.feature:125](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L125)
- [coreApiFavorites/favorites.feature:126](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L126)
- [coreApiFavorites/favorites.feature:189](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L189)
- [coreApiFavorites/favorites.feature:190](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L190)
And other missing implementation of favorites
- [coreApiFavorites/favorites.feature:191](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L191)
- [coreApiFavorites/favorites.feature:145](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L145)
- [coreApiFavorites/favorites.feature:146](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L146)
- [coreApiFavorites/favorites.feature:147](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L147)
@@ -191,12 +186,6 @@ Not everything needs to be implemented for ocis. While the oc10 testsuite covers
- [coreApiWebdavMove1/moveFolder.feature:64](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavMove1/moveFolder.feature#L64)
- [coreApiWebdavMove2/moveFile.feature:179](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavMove2/moveFile.feature#L179)
#### [REPORT method on spaces returns an incorrect d:href response](https://github.com/owncloud/ocis/issues/3111)
- [coreApiFavorites/favorites.feature:103](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L103)
- [coreApiFavorites/favorites.feature:126](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L126)
- [coreApiFavorites/favorites.feature:191](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L191)
#### [HTTP status code differ while deleting file of another user's trash bin](https://github.com/owncloud/ocis/issues/3544)
- [coreApiTrashbin/trashbinDelete.feature:92](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinDelete.feature#L92)

View File

@@ -100,7 +100,7 @@ class FavoritesContext implements Context {
}
/**
* @Then /^user "([^"]*)" should (not|)\s?have favorited the following elements$/
* @Then /^user "([^"]*)" should (not|)\s?have the following favorited items$/
*
* @param string $user
* @param string $shouldOrNot (not|)

View File

@@ -42,7 +42,7 @@ Feature: LOCK file/folder
| /remote.php/dav/spaces/%spaceid%/PARENT/parent.txt |
Then the HTTP status code of responses on all endpoints should be "401"
@issue-1347
@issue-1347 @issue-2176
Scenario: send LOCK requests to another user's webDav endpoints as normal user
When user "Brian" requests these endpoints with "LOCK" to get property "d:shared" about user "Alice"
| endpoint |
@@ -54,7 +54,7 @@ Feature: LOCK file/folder
| /remote.php/dav/files/%username%/PARENT/parent.txt |
Then the HTTP status code of responses on all endpoints should be "409"
@issue-1347
@issue-1347 @issue-2176
Scenario: send LOCK requests to another user's webDav endpoints as normal user using the spaces WebDAV API
When user "Brian" requests these endpoints with "LOCK" to get property "d:shared" about user "Alice"
| endpoint |

View File

@@ -48,11 +48,11 @@ Feature: PUT file/folder
| endpoint |
| /remote.php/dav/files/%username%/textfile1.txt |
| /remote.php/dav/files/%username%/PARENT |
Then the HTTP status code of responses on all endpoints should be "403"
Then the HTTP status code of responses on all endpoints should be "404"
When user "Brian" requests these endpoints with "PUT" including body "doesnotmatter" about user "Alice"
| endpoint |
| /remote.php/dav/files/%username%/PARENT/parent.txt |
Then the HTTP status code of responses on all endpoints should be "403"
Then the HTTP status code of responses on all endpoints should be "404"
Scenario: send PUT requests to another user's webDav endpoints as normal user using the spaces WebDAV API
@@ -60,11 +60,11 @@ Feature: PUT file/folder
| endpoint |
| /remote.php/dav/spaces/%spaceid%/textfile0.txt |
| /remote.php/dav/spaces/%spaceid%/PARENT |
Then the HTTP status code of responses on all endpoints should be "403"
Then the HTTP status code of responses on all endpoints should be "404"
When user "Brian" requests these endpoints with "PUT" including body "doesnotmatter" about user "Alice"
| endpoint |
| /remote.php/dav/spaces/%spaceid%/PARENT/parent.txt |
Then the HTTP status code of responses on all endpoints should be "403"
Then the HTTP status code of responses on all endpoints should be "404"
Scenario: send PUT requests to webDav endpoints using invalid username but correct password

View File

@@ -85,14 +85,14 @@ Feature: favorite
| new |
| spaces |
@smokeTest
@smokeTest @issue-1228
Scenario Outline: get favorited elements of a folder
Given using <dav-path-version> DAV path
When user "Alice" favorites element "/FOLDER" using the WebDAV API
And user "Alice" favorites element "/textfile0.txt" using the WebDAV API
And user "Alice" favorites element "/textfile1.txt" using the WebDAV API
Then the HTTP status code should be "207"
And user "Alice" should have favorited the following elements
And user "Alice" should have the following favorited items
| /FOLDER |
| /textfile0.txt |
| /textfile1.txt |
@@ -102,7 +102,7 @@ Feature: favorite
| new |
| spaces |
@issue-1228
Scenario Outline: get favorited elements of a subfolder
Given using <dav-path-version> DAV path
And user "Alice" has created folder "/subfolder"
@@ -114,10 +114,10 @@ Feature: favorite
And user "Alice" favorites element "/subfolder/textfile2.txt" using the WebDAV API
And user "Alice" unfavorites element "/subfolder/textfile1.txt" using the WebDAV API
Then the HTTP status code should be "207"
And user "Alice" should have favorited the following elements
And user "Alice" should have the following favorited items
| /subfolder/textfile0.txt |
| /subfolder/textfile2.txt |
And user "Alice" should not have favorited the following elements
And user "Alice" should not have the following favorited items
| /subfolder/textfile1.txt |
Examples:
| dav-path-version |
@@ -125,7 +125,7 @@ Feature: favorite
| new |
| spaces |
@issue-1228
Scenario Outline: get favorited elements and limit count of entries
Given using <dav-path-version> DAV path
And user "Alice" has favorited element "/textfile0.txt"
@@ -146,7 +146,7 @@ Feature: favorite
| new |
| spaces |
@issue-1228
Scenario Outline: get favorited elements paginated in subfolder
Given using <dav-path-version> DAV path
And user "Alice" has created folder "/subfolder"
@@ -175,13 +175,13 @@ Feature: favorite
| new |
| spaces |
@issue-1228
Scenario Outline: favoriting a folder does not change the favorite state of elements inside the folder
Given using <dav-path-version> DAV path
When user "Alice" favorites element "/PARENT/parent.txt" using the WebDAV API
And user "Alice" favorites element "/PARENT" using the WebDAV API
Then the HTTP status code should be "207"
And user "Alice" should have favorited the following elements
And user "Alice" should have the following favorited items
| /PARENT |
| /PARENT/parent.txt |
Examples:

View File

@@ -67,7 +67,7 @@ Feature: favorite
| old |
| new |
@issue-1228
Scenario Outline: moving a favorite file out of a share keeps favorite state
Given using <dav-path-version> DAV path
And user "Brian" has been created with default attributes and without skeleton files

View File

@@ -207,7 +207,7 @@ Feature: checksums
| spaces |
## Validation Plugin or Old Endpoint Specific
@issue-1343
@issue-1343 @issue-2323
Scenario Outline: uploading an old method chunked file with checksum should fail using new DAV path
Given using <dav-path-version> DAV path
When user "Alice" uploads chunk file "1" of "3" with "AAAAA" to "/myChecksumFile.txt" with checksum "MD5:45a72715acdd5019c5be30bdbb75233e" using the WebDAV API

View File

@@ -30,8 +30,8 @@ Feature: using trashbin together with sharing
| new |
| spaces |
@issue-1224 @issue-7555
Scenario Outline: deleting a file in a received folder moves it to trashbin of both users
@issue-1124 @issue-7555
Scenario Outline: sharee deleting a file in a received folder after renaming the shared folder moves it to trashbin of both users
Given using <dav-path-version> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/shared"

View File

@@ -6,7 +6,7 @@ Feature: refuse access
Background:
Given using OCS API version "1"
@smokeTest
@smokeTest @issue-2285
Scenario Outline: unauthenticated call
# cannot perform with spaces WebDAV due to the absence of user
Given using <dav-path-version> DAV path
@@ -21,7 +21,7 @@ Feature: refuse access
| old |
| new |
@issue-2285
Scenario Outline: disabled user cannot use webdav
Given using <dav-path-version> DAV path
And user "Alice" has been created with default attributes and without skeleton files

View File

@@ -152,7 +152,7 @@ Feature: Search
| new |
| spaces |
@issue-4712
@issue-4712 @issue-9780 @issue-9781 @issue-9783
Scenario Outline: report extra properties in search entries for a file
Given using <dav-path-version> DAV path
When user "Alice" searches for "*upload*" using the WebDAV API requesting these properties:
@@ -181,7 +181,7 @@ Feature: Search
| new |
| spaces |
@issue-4712
@issue-4712 @issue-9780 @issue-9781 @issue-9783
Scenario Outline: report extra properties in search entries for a folder
Given using <dav-path-version> DAV path
When user "Alice" searches for "*upload*" using the WebDAV API requesting these properties: