diff --git a/.drone.star b/.drone.star index 8da96f2c49..2a327a6058 100644 --- a/.drone.star +++ b/.drone.star @@ -1,7 +1,7 @@ config = { 'apiTests': { 'coreBranch': 'master', - 'coreCommit': '5d8d76600f451b985662024f730cee1a40444c7f', + 'coreCommit': '567f9fa6ee4ba005e9a3ddc5823312a6defb306e', 'numberOfParts': 2 }, 'uiTests': { diff --git a/tests/acceptance/expected-failures.txt b/tests/acceptance/expected-failures.txt index c877544423..0031989b22 100644 --- a/tests/acceptance/expected-failures.txt +++ b/tests/acceptance/expected-failures.txt @@ -840,6 +840,11 @@ apiWebdavProperties2/getFileProperties.feature:561 apiWebdavUpload1/uploadFile.feature:123 apiWebdavUpload1/uploadFile.feature:124 # +apiWebdavUpload1/uploadFile.feature:208 +apiWebdavUpload1/uploadFile.feature:209 +apiWebdavUpload1/uploadFile.feature:210 +apiWebdavUpload1/uploadFile.feature:211 +# # https://github.com/owncloud/ocis-reva/issues/56 remote.php/dav/uploads endpoint does not exist apiWebdavUpload1/uploadFileAsyncUsingNewChunking.feature:14 apiWebdavUpload1/uploadFileAsyncUsingNewChunking.feature:31 diff --git a/tests/acceptance/features/apiOcisSpecific/apiWebdavUpload1-uploadFile.feature b/tests/acceptance/features/apiOcisSpecific/apiWebdavUpload1-uploadFile.feature index 057a17df98..2e736324b2 100644 --- a/tests/acceptance/features/apiOcisSpecific/apiWebdavUpload1-uploadFile.feature +++ b/tests/acceptance/features/apiOcisSpecific/apiWebdavUpload1-uploadFile.feature @@ -18,3 +18,21 @@ Feature: upload file | dav_version | file_name | | old | "file ?2.txt" | | new | "file ?2.txt" | + + @skipOnOcis-OC-Storage @issue-product-127 + # this scenario passes/fails intermittently on OC storage, so do not run it in CI + # after fixing all issues delete this Scenario and use the one from oC10 core + Scenario Outline: uploading a file inside a folder changes its etag + Given using DAV path + And user "Alice" has created folder "/upload" + And user "Alice" has stored etag of element "/" + When user "Alice" uploads file with content "uploaded content" to "/upload/file.txt" using the WebDAV API + Then the content of file "/upload/file.txt" for user "Alice" should be "uploaded content" +# And the etag of element "/" of user "Alice" should have changed + And the etag of element "/" of user "Alice" should not have changed + Examples: + | dav_version | element | + | old | | + | old | upload | + | new | | + | new | upload |