Skip to content

Commit 170ca45

Browse files
committed
test adjustments
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
1 parent 07eff1b commit 170ca45

5 files changed

Lines changed: 3 additions & 28 deletions

File tree

‎tests/acceptance/expected-failures-decomposed-storage.md‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -322,19 +322,6 @@ _ocdav: api compatibility, return correct status code_
322322

323323
- [coreApiTrashbin/trashbinSharingToShares.feature:277](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L277)
324324

325-
#### [Preview. UTF characters do not display on prievew](https://github.com/opencloud-eu/opencloud/issues/1451)
326-
327-
- [coreApiWebdavPreviews/previews.feature:249](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L249)
328-
- [coreApiWebdavPreviews/previews.feature:250](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L250)
329-
- [coreApiWebdavPreviews/previews.feature:251](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L251)
330-
331-
#### [Preview of text file truncated](https://github.com/opencloud-eu/opencloud/issues/1452)
332-
333-
- [coreApiWebdavPreviews/previews.feature:263](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L263)
334-
- [coreApiWebdavPreviews/previews.feature:264](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L264)
335-
- [coreApiWebdavPreviews/previews.feature:265](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L265)
336-
337-
338325
#### [POSIX: failing CLI commands](https://github.com/opencloud-eu/opencloud/issues/3095)
339326

340327
- [cliCommands/restoreTrashBinItems.feature:11](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/cliCommands/restoreTrashBinItems.feature#L11)

‎tests/acceptance/expected-failures-posix-storage.md‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -325,18 +325,6 @@ _ocdav: api compatibility, return correct status code_
325325

326326
- [coreApiTrashbin/trashbinSharingToShares.feature:277](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L277)
327327

328-
#### [Preview. UTF characters do not display on prievew](https://github.com/opencloud-eu/opencloud/issues/1451)
329-
330-
- [coreApiWebdavPreviews/previews.feature:249](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L249)
331-
- [coreApiWebdavPreviews/previews.feature:250](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L250)
332-
- [coreApiWebdavPreviews/previews.feature:251](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L251)
333-
334-
#### [Preview of text file truncated](https://github.com/opencloud-eu/opencloud/issues/1452)
335-
336-
- [coreApiWebdavPreviews/previews.feature:263](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L263)
337-
- [coreApiWebdavPreviews/previews.feature:264](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L264)
338-
- [coreApiWebdavPreviews/previews.feature:265](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavPreviews/previews.feature#L265)
339-
340328
#### [POSIX: failing CLI commands](https://github.com/opencloud-eu/opencloud/issues/3095)
341329

342330
- [cliCommands/restoreTrashBinItems.feature:11](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/cliCommands/restoreTrashBinItems.feature#L11)

‎tests/acceptance/features/coreApiWebdavPreviews/previews.feature‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Feature: previews of files downloaded through the webdav API
241241
Given using <dav-path-version> DAV path
242242
And user "Alice" has uploaded file "filesForUpload/lorem.txt" to "/lorem.txt"
243243
And user "Alice" has uploaded file with content "ओनक्लाउड फाएल शेरिङ्ग एन्ड सिन्किङ" to "/lorem.txt"
244-
When user "Alice" downloads the preview of "/lorem.txt" with width "1200" and height "1200" using the WebDAV API
244+
When user "Alice" downloads the preview of "/lorem.txt" with width "1024" and height "1024" using the WebDAV API
245245
Then the HTTP status code should be "200"
246246
And the downloaded preview content should match with "unicode-fixture.png" fixtures preview content
247247
Examples:
@@ -254,9 +254,9 @@ Feature: previews of files downloaded through the webdav API
254254
Scenario Outline: download preview of the text file
255255
Given using <dav-path-version> DAV path
256256
And user "Alice" has uploaded file "filesForUpload/lorem.txt" to "/lorem.txt"
257-
When user "Alice" downloads the preview of "/lorem.txt" with width "1200" and height "1200" and processor "thumbnail" using the WebDAV API
257+
When user "Alice" downloads the preview of "/lorem.txt" with width "1024" and height "1024" and processor "thumbnail" using the WebDAV API
258258
Then the HTTP status code should be "200"
259-
And the downloaded image should be "1200" pixels wide and "1200" pixels high
259+
And the downloaded image should be "1024" pixels wide and "1024" pixels high
260260
And the downloaded preview content should match with "text-file-fixture.png" fixtures preview content
261261
Examples:
262262
| dav-path-version |
36.6 KB
Loading
9.09 KB
Loading

0 commit comments

Comments
 (0)