Commit Graph
32 Commits
Author SHA1 Message Date
Michael Stinglandv.scharf 76ffc82bba test(coreApiWebdavUploadTUS): assert etag and permissions on the finalizing TUS chunk (#3078)
* test(coreApiWebdavUploadTUS): assert etag and permissions on the finalizing TUS chunk

The chunked TUS finalize returns OC-ETag, ETag and OC-Perm since
https://github.com/opencloud-eu/reva/pull/718, so a client no longer
needs a follow-up PROPFIND for the new etag and permissions. Add a
scenario asserting these headers on the finalizing chunk, reusing
existing step definitions (the etag is a dynamic quoted hash, hence the
header-regex assertion).

Verified locally red->green: red on stock (headers absent), green on an
opencloud built on a reva carrying that change, on posix and decomposed.

https://github.com/opencloud-eu/opencloud/issues/2409

* test(coreApiWebdavUploadTUS): assert exact OC-Perm and tighten etag regex

---------

Co-authored-by: v.scharf <v.scharf@opencloud.eu>
2026-07-17 14:40:37 +02:00
Michael StinglandClaude Opus 4.8 a3951098c6 test(coreApiWebdavUploadTUS): expect 400 for invalid TUS upload names
opencloud-eu/reva#655 changes the TUS create response for an invalid name
from 412 to 400. Update the invalid-name scenario to match.

Each example now carries its own expected status in an <http-status-code>
column. Names that fail ValidateName expect 400. The three folder/file rows
stay 412: filename() applies path.Base first, so "folder/file" becomes the
valid leaf "file" and never reaches the changed branch.

lowLevelCreationExtension.feature is unchanged; its missing-Upload-Length
case still returns 412.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 16:11:25 +02:00
Saw-jan ee16c0597c test: add test to check mismatch offset during TUS upload
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-12-09 12:51:35 +05:45
Viktor Scharf a0f90fee1a Sync share before action 2025-11-06 16:31:21 +01:00
Florian Schade fb8af22073 chore: bump reva (#1701)
* chore: bump reva

* enhancement(test): add postprocessing wait helper
2025-10-27 12:01:27 +01:00
amrita-shrestha 2d16e6e693 Remove mtime 500 issue from expected failure 2025-03-25 22:44:28 +05:45
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Prajwol Amatya ae8f618bb0 add scenarios to expected failure file while running without remote.php 2024-11-22 12:39:39 +05:45
Saw-jan 7c1c9ddacc test: add tests to check file uploads with same mtime 2024-11-21 10:04:31 +05:45
Prajwol Amatya fccc980ff0 skip spaces dav path version 2024-11-20 10:39:02 +05:45
Prajwol Amatya 85ad991107 skip spaces dav path test in reva 2024-11-20 09:55:44 +05:45
Prajwol Amatya 33a99d6de3 extend webdav tests for old, new and spaces path 2024-11-19 09:07:45 +05:45
Saw-jan f86d137f87 test: make remote.php configurable
test: build dav paths

test: fix paths

test: merge method args

test: add issue tags

test: add new expected failure file

test: merge expected-failure files before running tests
2024-10-21 16:57:58 +05:45
Saw-jan aeca24ac75 test: add test coverage for #8804 2024-10-04 10:12:59 +05:45
Saw-jan 3822277421 test: fix TUS upload checksums
test: update expected-failure list

test: fix issue in expected failure list

test: fix OPTIONS scenarios
2024-08-28 10:34:28 +05:45
Saw-jan 3883e17b52 test: ensure share is available 2024-07-24 11:35:45 +05:45
Saw-jan 79175b0f25 test: add TUS upload test for .. path 2024-07-09 14:10:50 +05:45
amrita e3195eed24 remove reve master tag 2024-07-08 14:48:40 +05:45
Prarup Gurung 23800a6b09 [full-ci] [tests-only] Use sharing-ng in given steps for sharing (#9221)
* resharing.feature: Used sharingNG for sharing in given step

* unlockFiles.feature: Used sharingNG for sharing in given step

* apiSpacesShares suite: Used sharingNG for sharing in given step

* acceptShares.feature: Used sharingNG for sharing in given step

* uploadFile.feature: Used sharingNG for sharing in given step

* coreApiWebdavUploadTUS suite: Used sharingNG for sharing in given step

* tag.feature: Used sharingNG for sharing in given step

* coreApiShareOperationsToShares2 suite: Used sharingNG for sharing in given step

* updateShare.feature: Used sharingNG for sharing in given step

* Fixed line numbers in expected failure
2024-05-22 13:01:54 +05:45
Prarup Gurung ba7d91ebce Used kebab case for example table header name 2024-03-21 09:06:38 +05:45
Sawjan Gurung cb0090e840 extend test coverage for replacing file with zero-byte file (tus upload) (#8105) 2024-01-22 20:01:10 +05:45
Sawjan Gurung 8eb7f7aa96 [tests-only] skip sharing tests in reva (#7591)
* do not use spacesContext

* skip sharing tests in reva

* update expected failure list

* do not cleanup status codes

* skip shares tests in reva

* update expected failure list
2023-10-27 12:37:09 +05:45
Viktor Scharf c179485db6 [full-ci] ApiTests. enable auto accepting in api tests (#7477)
* enable auto accepting in test

* go format
2023-10-17 16:29:05 +02:00
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Sabin Panta f2498e1fdf Refactoring example table scenerio (#6697) 2023-07-12 12:42:32 +05:45
prajwol ab1de656ad refactoring feature files 2023-06-08 13:03:46 +05:45
Prarup Gurung d31f544a9f [full-ci] [tests-only] Removed tag personalSpace, and refactored the example tables (#6250)
* Refactored personalSpace tagged scenarios

* Fixed line numbers in expected failure
2023-05-25 17:50:00 +05:45
Prarup Gurung e208b3018a Removed step and implementation of setting share auto accept 2023-05-08 09:01:54 +05:45
amrita 73c327bdf0 Remove file sharing app 2023-05-04 12:42:14 +05:45
amrita 56a64b98ee Remove tag skipOnOcV10 2023-05-04 12:42:14 +05:45
Prarup Gurung 3419eacb6d Removed step and implementation setting default share folder 2023-02-23 15:32:27 +05:45
Saw-jan c59392bc1e copy feature files from core 2023-01-05 09:22:52 +05:45