diff --git a/tests/acceptance/features/apiWebdavEtagPropagation1/deleteFileFolder.feature b/tests/acceptance/features/apiWebdavEtagPropagation1/deleteFileFolder.feature index d111d51a9979..e60d8bd6f6a8 100644 --- a/tests/acceptance/features/apiWebdavEtagPropagation1/deleteFileFolder.feature +++ b/tests/acceptance/features/apiWebdavEtagPropagation1/deleteFileFolder.feature @@ -16,7 +16,8 @@ Feature: propagation of etags when deleting a file or folder And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/sub" When user "Alice" deletes file "/upload/sub/file.txt" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "204" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -40,7 +41,8 @@ Feature: propagation of etags when deleting a file or folder And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/sub" When user "Alice" deletes folder "/upload/sub/toDelete" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "204" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -65,7 +67,8 @@ Feature: propagation of etags when deleting a file or folder And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/sub" When user "Alice" deletes folder "/upload/sub/toDelete" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "204" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -96,7 +99,8 @@ Feature: propagation of etags when deleting a file or folder And user "Brian" has stored etag of element "/Shares/upload" And user "Brian" has stored etag of element "/Shares/upload/sub" When user "Brian" deletes file "/Shares/upload/sub/file.txt" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "204" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -131,7 +135,8 @@ Feature: propagation of etags when deleting a file or folder And user "Brian" has stored etag of element "/Shares/upload" And user "Brian" has stored etag of element "/Shares/upload/sub" When user "Alice" deletes file "/upload/sub/file.txt" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "204" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -168,7 +173,8 @@ Feature: propagation of etags when deleting a file or folder And user "Brian" has stored etag of element "/Shares/upload" And user "Brian" has stored etag of element "/Shares/upload/sub" When user "Brian" deletes folder "/Shares/upload/sub/toDelete" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "204" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -205,7 +211,8 @@ Feature: propagation of etags when deleting a file or folder And user "Brian" has stored etag of element "/Shares/upload" And user "Brian" has stored etag of element "/Shares/upload/sub" When user "Alice" deletes folder "/upload/sub/toDelete" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "204" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -234,7 +241,8 @@ Feature: propagation of etags when deleting a file or folder And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" When the public deletes file "file.txt" from the last public share using the new public WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "204" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -258,7 +266,8 @@ Feature: propagation of etags when deleting a file or folder And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" When the public deletes folder "sub" from the last public share using the new public WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "204" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | diff --git a/tests/acceptance/features/apiWebdavEtagPropagation1/moveFileFolder.feature b/tests/acceptance/features/apiWebdavEtagPropagation1/moveFileFolder.feature index e97926af3c8f..d818f7bfb667 100644 --- a/tests/acceptance/features/apiWebdavEtagPropagation1/moveFileFolder.feature +++ b/tests/acceptance/features/apiWebdavEtagPropagation1/moveFileFolder.feature @@ -12,7 +12,8 @@ Feature: propagation of etags when moving files or folders And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" When user "Alice" moves file "/upload/file.txt" to "/upload/renamed.txt" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -36,7 +37,8 @@ Feature: propagation of etags when moving files or folders And user "Alice" has stored etag of element "/src" And user "Alice" has stored etag of element "/dst" When user "Alice" moves file "/src/file.txt" to "/dst/file.txt" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /src | @@ -61,7 +63,8 @@ Feature: propagation of etags when moving files or folders And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/sub" When user "Alice" moves file "/upload/file.txt" to "/upload/sub/file.txt" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -84,7 +87,8 @@ Feature: propagation of etags when moving files or folders And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" When user "Alice" moves folder "/upload/src" to "/upload/dst" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -108,7 +112,8 @@ Feature: propagation of etags when moving files or folders And user "Alice" has stored etag of element "/src" And user "Alice" has stored etag of element "/dst" When user "Alice" moves folder "/src/folder" to "/dst/folder" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /src | @@ -133,7 +138,8 @@ Feature: propagation of etags when moving files or folders And user "Alice" has stored etag of element "/upload" And user "Alice" has stored etag of element "/upload/sub" When user "Alice" moves folder "/upload/folder" to "/upload/sub/folder" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -164,7 +170,8 @@ Feature: propagation of etags when moving files or folders And user "Brian" has stored etag of element "/Shares" And user "Brian" has stored etag of element "/Shares/upload" When user "Brian" moves file "/Shares/upload/file.txt" to "/Shares/upload/renamed.txt" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -197,7 +204,8 @@ Feature: propagation of etags when moving files or folders And user "Brian" has stored etag of element "/Shares" And user "Brian" has stored etag of element "/Shares/upload" When user "Alice" moves file "/upload/file.txt" to "/upload/renamed.txt" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -235,7 +243,8 @@ Feature: propagation of etags when moving files or folders And user "Brian" has stored etag of element "/Shares/src" And user "Brian" has stored etag of element "/Shares/dst" When user "Alice" moves file "/src/file.txt" to "/dst/file.txt" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /src | @@ -275,7 +284,8 @@ Feature: propagation of etags when moving files or folders 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 these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /src | @@ -315,7 +325,8 @@ Feature: propagation of etags when moving files or folders And user "Brian" has stored etag of element "/Shares/src" And user "Brian" has stored etag of element "/Shares/dst" When user "Alice" moves folder "/src/toMove" to "/dst/toMove" using the WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /src | @@ -355,7 +366,8 @@ Feature: propagation of etags when moving files or folders 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 these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /src | @@ -385,7 +397,8 @@ Feature: propagation of etags when moving files or folders And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" When the public renames file "file.txt" to "renamed.txt" from the last public share using the new public WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload | @@ -410,7 +423,8 @@ Feature: propagation of etags when moving files or folders And user "Alice" has stored etag of element "/" And user "Alice" has stored etag of element "/upload" When the public renames folder "sub" to "renamed" from the last public share using the new public WebDAV API - Then these etags should have changed: + Then the HTTP status code should be "201" + And these etags should have changed: | user | path | | Alice | / | | Alice | /upload |