mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
[full-ci] Bump reva (#7675)
* Bump reva * Adapt expected failures * update MOVE files between shares tests --------- Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
This commit is contained in:
@@ -162,7 +162,6 @@ File and sync features in a shared scenario
|
||||
- [coreApiShareManagementToShares/mergeShare.feature:112](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareManagementToShares/mergeShare.feature#L112)
|
||||
- [coreApiShareManagementToShares/mergeShare.feature:132](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareManagementToShares/mergeShare.feature#L132)
|
||||
|
||||
|
||||
#### [File deletion using dav gives unique string in filename in the trashbin](https://github.com/owncloud/product/issues/178)
|
||||
|
||||
- [coreApiShareManagementBasicToShares/deleteShareFromShares.feature:58](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature#L58)
|
||||
|
||||
@@ -136,29 +136,6 @@ Feature: check etag propagation after different file alterations
|
||||
| Brian | /dst | Shares |
|
||||
|
||||
|
||||
Scenario: share receiver moving a file from one folder to an other changes the etags of both folders for all collaborators
|
||||
Given user "Alice" has created folder "/dst"
|
||||
And user "Alice" has uploaded file with content "uploaded content" to "/upload/file.txt"
|
||||
And user "Alice" has shared folder "/upload" with user "Brian"
|
||||
And user "Alice" has shared folder "/dst" with user "Brian"
|
||||
And user "Alice" has stored etag of element "/" inside space "Personal"
|
||||
And user "Alice" has stored etag of element "/upload" inside space "Personal"
|
||||
And user "Alice" has stored etag of element "/dst" inside space "Personal"
|
||||
And user "Brian" has stored etag of element "/" inside space "Shares"
|
||||
And user "Brian" has stored etag of element "/upload" inside space "Shares"
|
||||
And user "Brian" has stored etag of element "/dst" inside space "Shares"
|
||||
When user "Brian" moves file "/upload/file.txt" to "/dst/file.txt" in space "Shares" using the WebDAV API
|
||||
Then the HTTP status code should be "201"
|
||||
And these etags should have changed
|
||||
| user | path | space |
|
||||
| Alice | / | Personal |
|
||||
| Alice | /upload | Personal |
|
||||
| Alice | /dst | Personal |
|
||||
| Brian | / | Shares |
|
||||
| Brian | /upload | Shares |
|
||||
| Brian | /dst | Shares |
|
||||
|
||||
|
||||
Scenario: sharer moving a folder from one folder to an other changes the etags of both folders for all collaborators
|
||||
Given user "Alice" has created folder "/dst"
|
||||
And user "Alice" has created folder "/upload/toMove"
|
||||
@@ -182,29 +159,6 @@ Feature: check etag propagation after different file alterations
|
||||
| Brian | /dst | Shares |
|
||||
|
||||
|
||||
Scenario: share receiver moving a folder from one folder to an other changes the etags of both folders for all collaborators
|
||||
Given user "Alice" has created folder "/dst"
|
||||
And user "Alice" has created folder "/upload/toMove"
|
||||
And user "Alice" has shared folder "/upload" with user "Brian"
|
||||
And user "Alice" has shared folder "/dst" with user "Brian"
|
||||
And user "Alice" has stored etag of element "/" inside space "Personal"
|
||||
And user "Alice" has stored etag of element "/upload" inside space "Personal"
|
||||
And user "Alice" has stored etag of element "/dst" inside space "Personal"
|
||||
And user "Brian" has stored etag of element "/" inside space "Shares"
|
||||
And user "Brian" has stored etag of element "/upload" inside space "Shares"
|
||||
And user "Brian" has stored etag of element "/dst" inside space "Shares"
|
||||
When user "Brian" moves file "/upload/toMove" to "/dst/toMove" in space "Shares" using the WebDAV API
|
||||
Then the HTTP status code should be "201"
|
||||
And these etags should have changed
|
||||
| user | path | space |
|
||||
| Alice | / | Personal |
|
||||
| Alice | /upload | Personal |
|
||||
| Alice | /dst | Personal |
|
||||
| Brian | / | Shares |
|
||||
| Brian | /upload | Shares |
|
||||
| Brian | /dst | Shares |
|
||||
|
||||
|
||||
Scenario: share receiver creating a folder inside a folder received as a share changes its etag for all collaborators
|
||||
Given user "Alice" has shared folder "/upload" with user "Brian"
|
||||
And user "Alice" has stored etag of element "/" inside space "Personal"
|
||||
|
||||
@@ -208,12 +208,10 @@ Feature: move (rename) file
|
||||
And user "Brian" has shared folder "/testshare1" with user "Alice" with permissions "31"
|
||||
And user "Brian" has shared folder "/testshare2" with user "Alice" with permissions "31"
|
||||
When user "Alice" moves file "/testshare1/testshare1.txt" from space "Shares" to "/testshare2/testshare1.txt" inside space "Shares" using the WebDAV API
|
||||
Then the HTTP status code should be "201"
|
||||
And for user "Alice" folder "testshare2" of the space "Shares" should contain these entries:
|
||||
Then the HTTP status code should be "502"
|
||||
And for user "Alice" folder "testshare1" of the space "Shares" should contain these entries:
|
||||
| testshare1.txt |
|
||||
And for user "Brian" folder "testshare2" of the space "Personal" should contain these entries:
|
||||
| testshare1.txt |
|
||||
But for user "Alice" folder "testshare1" of the space "Shares" should not contain these entries:
|
||||
But for user "Alice" folder "testshare2" of the space "Shares" should not contain these entries:
|
||||
| testshare1.txt |
|
||||
|
||||
|
||||
@@ -224,10 +222,10 @@ Feature: move (rename) file
|
||||
And user "Brian" has shared folder "/testshare1" with user "Alice" with permissions "31"
|
||||
And user "Brian" has shared folder "/testshare2" with user "Alice" with permissions "17"
|
||||
When user "Alice" moves file "/testshare1/testshare1.txt" from space "Shares" to "/testshare2/testshare1.txt" inside space "Shares" using the WebDAV API
|
||||
Then the HTTP status code should be "403"
|
||||
And for user "Alice" folder "testshare2" of the space "Shares" should not contain these entries:
|
||||
Then the HTTP status code should be "502"
|
||||
And for user "Alice" folder "testshare1" of the space "Shares" should contain these entries:
|
||||
| testshare1.txt |
|
||||
And for user "Brian" folder "testshare2" of the space "Personal" should not contain these entries:
|
||||
But for user "Alice" folder "testshare2" of the space "Shares" should not contain these entries:
|
||||
| testshare1.txt |
|
||||
|
||||
|
||||
@@ -238,34 +236,13 @@ Feature: move (rename) file
|
||||
And user "Brian" has shared folder "/testshare1" with user "Alice" with permissions "17"
|
||||
And user "Brian" has shared folder "/testshare2" with user "Alice" with permissions "31"
|
||||
When user "Alice" moves file "/testshare1/testshare1.txt" from space "Shares" to "/testshare2/testshare1.txt" inside space "Shares" using the WebDAV API
|
||||
Then the HTTP status code should be "403"
|
||||
And for user "Alice" folder "testshare2" of the space "Shares" should not contain these entries:
|
||||
Then the HTTP status code should be "502"
|
||||
And for user "Alice" folder "testshare1" of the space "Shares" should contain these entries:
|
||||
| testshare1.txt |
|
||||
And for user "Brian" folder "testshare2" of the space "Personal" should not contain these entries:
|
||||
But for user "Alice" folder "testshare2" of the space "Shares" should not contain these entries:
|
||||
| testshare1.txt |
|
||||
|
||||
|
||||
Scenario: checking file id after a move between received shares
|
||||
Given user "Alice" has created the following folders
|
||||
| path |
|
||||
| /folderA |
|
||||
| /folderB |
|
||||
And user "Alice" has shared folder "/folderA" with user "Brian"
|
||||
And user "Alice" has shared folder "/folderB" with user "Brian"
|
||||
And user "Brian" has created a folder "/folderA/ONE" in space "Shares"
|
||||
And user "Brian" has created a folder "/folderA/ONE/TWO" in space "Shares"
|
||||
And user "Brian" has stored id of folder "/folderA/ONE" of the space "Shares"
|
||||
When user "Brian" moves folder "/folderA/ONE" from space "Shares" to "/folderB/ONE" inside space "Shares" using the WebDAV API
|
||||
Then the HTTP status code should be "201"
|
||||
And for user "Brian" the space "Shares" should contain these entries:
|
||||
| /folderA |
|
||||
And for user "Brian" folder "folderB" of the space "Shares" should contain these entries:
|
||||
| /ONE |
|
||||
And for user "Brian" folder "folderA" of the space "Shares" should not contain these entries:
|
||||
| /ONE |
|
||||
And user "Brian" folder "/folderB/ONE" of the space "Shares" should have the previously stored id
|
||||
|
||||
|
||||
Scenario: moving a file out of a shared folder as a sharer
|
||||
Given user "Brian" has created folder "/testshare"
|
||||
And user "Brian" has uploaded file with content "test data" to "/testshare/testfile.txt"
|
||||
|
||||
@@ -35,11 +35,11 @@ Feature: sharing
|
||||
And user "Alice" has shared folder "/share1" with user "Brian"
|
||||
And user "Alice" has shared folder "/share2" with user "Brian"
|
||||
When user "Brian" moves file "/Shares/share1/textfile0.txt" to "/Shares/share2/textfile0.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "201"
|
||||
And as "Brian" file "/Shares/share1/textfile0.txt" should not exist
|
||||
But as "Brian" file "/Shares/share2/textfile0.txt" should exist
|
||||
And as "Alice" file "share1/textfile0.txt" should not exist
|
||||
But as "Alice" file "share2/textfile0.txt" should exist
|
||||
Then the HTTP status code should be "502"
|
||||
And as "Brian" file "/Shares/share1/textfile0.txt" should exist
|
||||
And as "Alice" file "share1/textfile0.txt" should exist
|
||||
But as "Brian" file "/Shares/share2/textfile0.txt" should not exist
|
||||
And as "Alice" file "share2/textfile0.txt" should not exist
|
||||
Examples:
|
||||
| dav-path-version |
|
||||
| old |
|
||||
|
||||
@@ -240,38 +240,6 @@ Feature: propagation of etags when moving files or folders
|
||||
| old |
|
||||
| new |
|
||||
|
||||
@skipOnReva
|
||||
Scenario Outline: sharee moving a file from one folder to an other changes the etags of both folders for all collaborators
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
And using <dav-path-version> DAV path
|
||||
And user "Alice" has created folder "/src"
|
||||
And user "Alice" has created folder "/dst"
|
||||
And user "Alice" has uploaded file with content "uploaded content" to "/src/file.txt"
|
||||
And user "Alice" has shared folder "/src" with user "Brian"
|
||||
And user "Alice" has shared folder "/dst" with user "Brian"
|
||||
And user "Alice" has stored etag of element "/"
|
||||
And user "Alice" has stored etag of element "/src"
|
||||
And user "Alice" has stored etag of element "/dst"
|
||||
And user "Brian" has stored etag of element "/"
|
||||
And user "Brian" has stored etag of element "/Shares"
|
||||
And user "Brian" has stored etag of element "/Shares/src"
|
||||
And user "Brian" has stored etag of element "/Shares/dst"
|
||||
When user "Brian" moves file "/Shares/src/file.txt" to "/Shares/dst/file.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "201"
|
||||
And these etags should have changed:
|
||||
| user | path |
|
||||
| Alice | / |
|
||||
| Alice | /src |
|
||||
| Alice | /dst |
|
||||
| Brian | / |
|
||||
| Brian | /Shares |
|
||||
| Brian | /Shares/src |
|
||||
| Brian | /Shares/dst |
|
||||
Examples:
|
||||
| dav-path-version |
|
||||
| old |
|
||||
| new |
|
||||
|
||||
@issue-4251 @skipOnReva
|
||||
Scenario Outline: sharer moving a folder from one folder to an other changes the etags of both folders for all collaborators
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
@@ -304,38 +272,6 @@ Feature: propagation of etags when moving files or folders
|
||||
| old |
|
||||
| new |
|
||||
|
||||
@skipOnReva
|
||||
Scenario Outline: sharee moving a folder from one folder to an other changes the etags of both folders for all collaborators
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
And using <dav-path-version> DAV path
|
||||
And user "Alice" has created folder "/src"
|
||||
And user "Alice" has created folder "/dst"
|
||||
And user "Alice" has created folder "/src/toMove"
|
||||
And user "Alice" has shared folder "/src" with user "Brian"
|
||||
And user "Alice" has shared folder "/dst" with user "Brian"
|
||||
And user "Alice" has stored etag of element "/"
|
||||
And user "Alice" has stored etag of element "/src"
|
||||
And user "Alice" has stored etag of element "/dst"
|
||||
And user "Brian" has stored etag of element "/"
|
||||
And user "Brian" has stored etag of element "/Shares"
|
||||
And user "Brian" has stored etag of element "/Shares/src"
|
||||
And user "Brian" has stored etag of element "/Shares/dst"
|
||||
When user "Brian" moves folder "/Shares/src/toMove" to "/Shares/dst/toMove" using the WebDAV API
|
||||
Then the HTTP status code should be "201"
|
||||
And these etags should have changed:
|
||||
| user | path |
|
||||
| Alice | / |
|
||||
| Alice | /src |
|
||||
| Alice | /dst |
|
||||
| Brian | / |
|
||||
| Brian | /Shares |
|
||||
| Brian | /Shares/src |
|
||||
| Brian | /Shares/dst |
|
||||
Examples:
|
||||
| dav-path-version |
|
||||
| old |
|
||||
| new |
|
||||
|
||||
|
||||
Scenario Outline: renaming a file in a publicly shared folder changes its etag for the sharer
|
||||
Given using <dav-path-version> DAV path
|
||||
|
||||
@@ -181,31 +181,3 @@ Feature: move (rename) file
|
||||
| dav-path-version |
|
||||
| old |
|
||||
| new |
|
||||
|
||||
@skipOnReva
|
||||
Scenario Outline: checking file id after a move between received shares
|
||||
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 the following folders
|
||||
| path |
|
||||
| /folderA |
|
||||
| /folderB |
|
||||
And user "Alice" has shared folder "/folderA" with user "Brian"
|
||||
And user "Alice" has shared folder "/folderB" with user "Brian"
|
||||
And user "Brian" has created the following folders
|
||||
| path |
|
||||
| /Shares/folderA/ONE |
|
||||
| /Shares/folderA/ONE/TWO |
|
||||
And user "Brian" has stored id of folder "/Shares/folderA/ONE"
|
||||
When user "Brian" moves folder "/Shares/folderA/ONE" to "/Shares/folderB/ONE" using the WebDAV API
|
||||
Then the HTTP status code should be "201"
|
||||
And as "Brian" folder "/Shares/folderA" should exist
|
||||
And as "Brian" folder "/Shares/folderA/ONE" should not exist
|
||||
And as "Brian" folder "/Shares/folderA/ONE/TWO" should not exist
|
||||
And as "Brian" folder "/Shares/folderB/ONE" should exist
|
||||
And as "Brian" folder "/Shares/folderB/ONE/TWO" should exist
|
||||
And user "Brian" folder "/Shares/folderB/ONE" should have the previously stored id
|
||||
Examples:
|
||||
| dav-path-version |
|
||||
| old |
|
||||
| new |
|
||||
|
||||
Reference in New Issue
Block a user