You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario: download an old version of a restored file # /var/www/owncloud/testrunner/tests/acceptance/features/apiVersions/fileVersions.feature:438
Given user "Alice" has uploaded file with content "uploaded content" to "textfile0.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has uploaded file with content "version 1" to "textfile0.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has uploaded file with content "version 2" to "textfile0.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has restored version index "1" of file "textfile0.txt" # FilesVersionsContext::userRestoresVersionIndexOfFile()
When user "Alice" downloads the version of file "textfile0.txt" with the index "1" # FilesVersionsContext::downloadVersion()
Then the HTTP status code should be "200" # FeatureContext::thenTheHTTPStatusCodeShouldBe()
And the following headers should be set # FeatureContext::theFollowingHeadersShouldBeSet()
| header | value |
| Content-Disposition | attachment; filename*=UTF-8''textfile0.txt; filename="textfile0.txt" |
And the downloaded content should be "version 2" # FeatureContext::downloadedContentShouldBe()
When user "Alice" downloads the version of file "textfile0.txt" with the index "2" # FilesVersionsContext::downloadVersion()
Then the HTTP status code should be "200" # FeatureContext::thenTheHTTPStatusCodeShouldBe()
And the following headers should be set # FeatureContext::theFollowingHeadersShouldBeSet()
| header | value |
| Content-Disposition | attachment; filename*=UTF-8''textfile0.txt; filename="textfile0.txt" |
And the downloaded content should be "uploaded content" # FeatureContext::downloadedContentShouldBe()
The downloaded content was expected to be 'uploaded content', but actually is 'version 1'. HTTP status was 200
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'uploaded content'
+'version 1'
I removed my assignment. I left this in the QA project. Someone can try to look into more detail about how/why it fails, and report here. Then if it is a real issue when on S3 storage, hand over to devs.
https://drone.owncloud.com/owncloud/files_primary_s3/2356/98/17
This is a new scenario that was added in core PR owncloud/core#38921
Investigate why this fails in S3. (It passes in core, encryption, and user_ldap)
The text was updated successfully, but these errors were encountered: