Adjust expected-failures
This commit is contained in:
@@ -6,19 +6,8 @@
|
|||||||
- [apiWebdavProperties1/setFileProperties.feature:33](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiWebdavProperties1/setFileProperties.feature#L33)
|
- [apiWebdavProperties1/setFileProperties.feature:33](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiWebdavProperties1/setFileProperties.feature#L33)
|
||||||
|
|
||||||
### [Checksum feature](https://github.com/owncloud/ocis-reva/issues/196)
|
### [Checksum feature](https://github.com/owncloud/ocis-reva/issues/196)
|
||||||
- [apiMain/checksums.feature:24](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L24)
|
|
||||||
- [apiMain/checksums.feature:25](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L25)
|
|
||||||
- [apiMain/checksums.feature:35](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L35)
|
|
||||||
- [apiMain/checksums.feature:36](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L36)
|
|
||||||
- [apiMain/checksums.feature:46](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L46)
|
|
||||||
- [apiMain/checksums.feature:47](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L47)
|
|
||||||
- [apiMain/checksums.feature:50](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L50)
|
|
||||||
- [apiMain/checksums.feature:58](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L58)
|
- [apiMain/checksums.feature:58](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L58)
|
||||||
- [apiMain/checksums.feature:67](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L67)
|
- [apiMain/checksums.feature:67](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L67)
|
||||||
- [apiMain/checksums.feature:99](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L99)
|
|
||||||
- [apiMain/checksums.feature:100](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L100)
|
|
||||||
- [apiMain/checksums.feature:103](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L103)
|
|
||||||
- [apiMain/checksums.feature:110](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L110)
|
|
||||||
- [apiMain/checksums.feature:119](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L119)
|
- [apiMain/checksums.feature:119](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L119)
|
||||||
- [apiMain/checksums.feature:129](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L129)
|
- [apiMain/checksums.feature:129](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L129)
|
||||||
- [apiMain/checksums.feature:138](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L138)
|
- [apiMain/checksums.feature:138](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L138)
|
||||||
@@ -26,17 +15,7 @@
|
|||||||
- [apiMain/checksums.feature:158](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L158)
|
- [apiMain/checksums.feature:158](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L158)
|
||||||
- [apiMain/checksums.feature:174](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L174)
|
- [apiMain/checksums.feature:174](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L174)
|
||||||
- [apiMain/checksums.feature:192](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L192)
|
- [apiMain/checksums.feature:192](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L192)
|
||||||
- [apiMain/checksums.feature:217](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L217)
|
|
||||||
- [apiMain/checksums.feature:218](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L218)
|
|
||||||
- [apiMain/checksums.feature:239](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L239)
|
|
||||||
- [apiMain/checksums.feature:240](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L240)
|
|
||||||
- [apiMain/checksums.feature:258](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L258)
|
- [apiMain/checksums.feature:258](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L258)
|
||||||
- [apiMain/checksums.feature:279](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L279)
|
|
||||||
- [apiMain/checksums.feature:280](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L280)
|
|
||||||
- [apiMain/checksums.feature:295](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L295)
|
|
||||||
- [apiMain/checksums.feature:296](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L296)
|
|
||||||
- [apiMain/checksums.feature:308](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L308)
|
|
||||||
- [apiMain/checksums.feature:309](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L309)
|
|
||||||
- [apiMain/checksums.feature:312](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L312)
|
- [apiMain/checksums.feature:312](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L312)
|
||||||
- [apiMain/checksums.feature:324](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L324)
|
- [apiMain/checksums.feature:324](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiMain/checksums.feature#L324)
|
||||||
|
|
||||||
@@ -902,7 +881,6 @@
|
|||||||
- [apiVersions/fileVersions.feature:88](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L88)
|
- [apiVersions/fileVersions.feature:88](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L88)
|
||||||
- [apiVersions/fileVersions.feature:89](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L89)
|
- [apiVersions/fileVersions.feature:89](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L89)
|
||||||
- [apiVersions/fileVersions.feature:93](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L93)
|
- [apiVersions/fileVersions.feature:93](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L93)
|
||||||
- [apiVersions/fileVersions.feature:104](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L104)
|
|
||||||
- [apiVersions/fileVersions.feature:288](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L288)
|
- [apiVersions/fileVersions.feature:288](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L288)
|
||||||
- [apiVersions/fileVersions.feature:362](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L362)
|
- [apiVersions/fileVersions.feature:362](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L362)
|
||||||
- [apiVersions/fileVersions.feature:373](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L373)
|
- [apiVersions/fileVersions.feature:373](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiVersions/fileVersions.feature#L373)
|
||||||
|
|||||||
@@ -1,57 +0,0 @@
|
|||||||
@api
|
|
||||||
Feature: checksums
|
|
||||||
|
|
||||||
Background:
|
|
||||||
Given user "Alice" has been created with default attributes and without skeleton files
|
|
||||||
|
|
||||||
@issue-ocis-reva-98
|
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
|
||||||
Scenario Outline: Uploading a file with checksum should return the checksum in the download header
|
|
||||||
Given using <dav_version> DAV path
|
|
||||||
And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/myChecksumFile.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a"
|
|
||||||
When user "Alice" downloads file "/myChecksumFile.txt" using the WebDAV API
|
|
||||||
Then the following headers should not be set
|
|
||||||
| header |
|
|
||||||
| OC-Checksum |
|
|
||||||
Examples:
|
|
||||||
| dav_version |
|
|
||||||
| old |
|
|
||||||
| new |
|
|
||||||
|
|
||||||
@issue-ocis-reva-98
|
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
|
||||||
Scenario: Copying file with checksum should return the checksum in the download header using new DAV path
|
|
||||||
Given using new DAV path
|
|
||||||
And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/myChecksumFile.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a"
|
|
||||||
When user "Alice" copies file "/myChecksumFile.txt" to "/myChecksumFileCopy.txt" using the WebDAV API
|
|
||||||
And user "Alice" downloads file "/myChecksumFileCopy.txt" using the WebDAV API
|
|
||||||
Then the following headers should not be set
|
|
||||||
| header |
|
|
||||||
| OC-Checksum |
|
|
||||||
|
|
||||||
@issue-ocis-reva-99
|
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
|
||||||
Scenario Outline: Upload a file where checksum does not match
|
|
||||||
Given using <dav_version> DAV path
|
|
||||||
When user "Alice" uploads file with checksum "SHA1:f005ba11" and content "Some Text" to "/chksumtst.txt" using the WebDAV API
|
|
||||||
Then the HTTP status code should be "201"
|
|
||||||
And user "Alice" should see the following elements
|
|
||||||
| /chksumtst.txt |
|
|
||||||
Examples:
|
|
||||||
| dav_version |
|
|
||||||
| old |
|
|
||||||
| new |
|
|
||||||
|
|
||||||
@issue-ocis-reva-99
|
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
|
||||||
Scenario Outline: Uploaded file should have the same checksum when downloaded
|
|
||||||
Given using <dav_version> DAV path
|
|
||||||
And user "Alice" has uploaded file with checksum "SHA1:ce5582148c6f0c1282335b87df5ed4be4b781399" and content "Some Text" to "/chksumtst.txt"
|
|
||||||
When user "Alice" downloads file "/chksumtst.txt" using the WebDAV API
|
|
||||||
Then the following headers should not be set
|
|
||||||
| header |
|
|
||||||
| OC-Checksum |
|
|
||||||
Examples:
|
|
||||||
| dav_version |
|
|
||||||
| old |
|
|
||||||
| new |
|
|
||||||
Reference in New Issue
Block a user