[full-ci] run tests with VIPS enabled (#1420)
* [full-ci] run tests with VIPS enabled * fix * fix --------- Co-authored-by: Viktor Scharf <v.scharf@opencloud.eu>
This commit is contained in:
co-authored by
Viktor Scharf
parent
4e627c7654
commit
81bbb5c4cb
@@ -236,14 +236,13 @@ Feature: previews of files downloaded through the webdav API
|
||||
| new |
|
||||
| spaces |
|
||||
|
||||
|
||||
@need-build-with-VIPS @issue-1451
|
||||
Scenario Outline: it should update the preview content if the file content is updated (content with UTF chars)
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Alice" has uploaded file "filesForUpload/lorem.txt" to "/lorem.txt"
|
||||
And user "Alice" has uploaded file with content "ओनक्लाउड फाएल शेरिङ्ग एन्ड सिन्किङ" to "/lorem.txt"
|
||||
When user "Alice" downloads the preview of "/lorem.txt" with width "32" and height "32" using the WebDAV API
|
||||
When user "Alice" downloads the preview of "/lorem.txt" with width "1200" and height "1200" using the WebDAV API
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded image should be "32" pixels wide and "32" pixels high
|
||||
And the downloaded preview content should match with "unicode-fixture.png" fixtures preview content
|
||||
Examples:
|
||||
| dav-path-version |
|
||||
@@ -251,6 +250,20 @@ Feature: previews of files downloaded through the webdav API
|
||||
| new |
|
||||
| spaces |
|
||||
|
||||
@need-build-with-VIPS @issue-1452
|
||||
Scenario Outline: download preview of the text file
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Alice" has uploaded file "filesForUpload/lorem.txt" to "/lorem.txt"
|
||||
When user "Alice" downloads the preview of "/lorem.txt" with width "1200" and height "1200" and processor "thumbnail" using the WebDAV API
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded image should be "1200" pixels wide and "1200" pixels high
|
||||
And the downloaded preview content should match with "text-file-fixture.png" fixtures preview content
|
||||
Examples:
|
||||
| dav-path-version |
|
||||
| old |
|
||||
| new |
|
||||
| spaces |
|
||||
|
||||
|
||||
Scenario Outline: updates to a file should change the preview for both sharees and sharers
|
||||
Given using <dav-path-version> DAV path
|
||||
@@ -346,7 +359,7 @@ Feature: previews of files downloaded through the webdav API
|
||||
| new |
|
||||
| spaces |
|
||||
|
||||
|
||||
@need-build-with-VIPS
|
||||
Scenario Outline: download previews of an image with different processors
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Alice" has uploaded file "filesForUpload/testavatar.jpg" to "/testimage.jpg"
|
||||
|
||||
@@ -21,16 +21,16 @@ Feature: sizing of previews of files downloaded through the webdav API
|
||||
| request-width | request-height | return-width | return-height | dav-path-version |
|
||||
| 1 | 1 | 16 | 16 | old |
|
||||
| 32 | 32 | 32 | 32 | old |
|
||||
| 1024 | 1024 | 640 | 480 | old |
|
||||
| 1024 | 1024 | 640 | 640 | old |
|
||||
| 1 | 1024 | 16 | 16 | old |
|
||||
| 1024 | 1 | 640 | 480 | old |
|
||||
| 1024 | 1 | 640 | 640 | old |
|
||||
| 1 | 1 | 16 | 16 | new |
|
||||
| 32 | 32 | 32 | 32 | new |
|
||||
| 1024 | 1024 | 640 | 480 | new |
|
||||
| 1024 | 1024 | 640 | 640 | new |
|
||||
| 1 | 1024 | 16 | 16 | new |
|
||||
| 1024 | 1 | 640 | 480 | new |
|
||||
| 1024 | 1 | 640 | 640 | new |
|
||||
| 1 | 1 | 16 | 16 | spaces |
|
||||
| 32 | 32 | 32 | 32 | spaces |
|
||||
| 1024 | 1024 | 640 | 480 | spaces |
|
||||
| 1024 | 1024 | 640 | 640 | spaces |
|
||||
| 1 | 1024 | 16 | 16 | spaces |
|
||||
| 1024 | 1 | 640 | 480 | spaces |
|
||||
| 1024 | 1 | 640 | 640 | spaces |
|
||||
|
||||
Reference in New Issue
Block a user