Dominik Schmidt
b5cb1cd83b
test(search): re-search until the expected files are in the result ( #3488 )
...
Indexing of newly uploaded resources is asynchronous; the search step
slept a fixed 10s and searched once, so under load a just-uploaded file
was missing from the result and the following assertion failed. The
search step now remembers its query, and new eventually-contain steps
re-run the search until the expected entries are present (or the
WaitHelper timeout elapses), then assert as before. contentSearch
scenarios use them for their positive assertions; the exact-count check
runs after the expected entries have appeared.
2026-09-08 14:50:49 +02:00
Dominik Schmidt
3b83221a87
test(search): retry the driveItem GET until the extracted properties match
...
Property extraction reaches the driveItem asynchronously, so the GET
step previously waited only until any extraction facet key appeared and
a separate step then validated the full schema, which could run on a
partial payload and fail intermittently. The GET and the status check
stay plain steps; a new explicit Then step re-fetches the item until
the response satisfies the expected schema (a partial never matches) or
the WaitHelper timeout elapses.
2026-09-08 13:39:00 +02:00
Sawjan Gurung
cc8a161fce
test(api): update php test dependencies ( #3335 )
...
* test: update php dependencies
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: use custom tus client
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: fix php code style and commands
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: use doctrine coding standard
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: convert headers value to string
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: initialize phpunit config
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: fix tus upload
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: fix php code style
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
---------
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2026-08-21 19:38:34 +02:00
Viktor Scharf
0fc2a98e6e
api-test: notification settings and getting email notifications ( #3281 )
...
* api-test: notification settings and getting email notifications
* disable all email notifications
2026-08-13 11:32:12 +02:00
Viktor Scharf
97908ac6c1
api-test: add posixfs scan and consistency CLI tests ( #3263 )
...
* api-test: add posixfs scan and consistency CLI tests
* fix after review
2026-08-10 08:50:47 +02:00
Viktor Scharf
76ff13b47e
api-test: replace sleeps with WaitHelper poll for async state ( #3239 )
...
* api-test: replace sleeps with WaitHelper poll for async state
* php-style
2026-08-05 09:23:57 +02:00
Viktor Scharf
0a44bbae9e
api-test: mark group last-manager removal scenario as flaky ( #3194 )
2026-07-30 09:50:05 +05:45
Viktor Scharf
a2bdbc8b56
api-test: fix removeAccessToDrive.feature:145 ( #3179 )
...
* api-test: fix removeAccessToDrive.feature:145
* fix after review
2026-07-28 13:19:26 +02:00
Viktor Scharf
f3693ef112
api-test: cover additional unified roles in acceptance tests ( #3169 )
2026-07-27 09:12:38 +02:00
Michael Stingl
3893be6ed1
test(coreApiWebdavOperations): download a file with a literal "%" via its oc:downloadURL ( #3079 )
...
A file whose name contains a literal "%" 404s on download because the
server-built oc:downloadURL did not percent-encode the path (#2852 , fixed in
reva by https://github.com/opencloud-eu/reva/pull/653 ). Add a scenario mirroring
the web client download flow: read the oc:downloadURL from PROPFIND and GET it
as-is (the signature in the URL authenticates it), asserting 200 and the content.
The new step "user X downloads the P file via its oc:downloadURL" lives in
WebDavPropertiesContext; a regex annotation avoids the ":" in oc:downloadURL
colliding with the turnip :placeholder syntax.
Verified red->green on posix and decomposed: red on an opencloud built on a reva
with the fix reverted (the download 404s), green on the shipped reva.
https://github.com/opencloud-eu/opencloud/issues/2852
2026-07-17 14:20:00 +02:00
Viktor Scharf
a53eb44083
steps refactoring ( #3100 )
2026-07-14 09:32:35 +02:00
Viktor Scharf
9efc71d42e
[decomposed] more cli command tests ( #3087 )
...
* more cli command tests
* add tests to expected failures file
2026-07-09 07:51:43 +02:00
Dominik Schmidt
3b42c6250d
test(graph): acceptance tests for MS Graph colon-syntax path lookup
...
Cover the rewrite shapes the middleware handles end-to-end against a
real OpenCloud server: root-anchored, item-anchored, deep paths,
trailing colon, and the "/<path>:/<suffix>" sub-route form. Also
assert that NOT_FOUND and PERMISSION_DENIED both collapse to 404.
The /permissions sub-route is registered only at /v1beta1, and the
v1beta1 GetDriveItem handler is share-jail-only, so the v1beta1
mount of the middleware is exercised through the permissions
scenario, since there is no other v1beta1 endpoint that works for
regular personal-drive items.
2026-07-01 17:44:31 +02:00
André Duffeck
92e6c8f3ff
Do not choke on users that weren't cleaned up yet
2026-06-12 15:13:32 +02:00
Jörn Friedrich Dreyer
66fae3061d
Merge pull request #2755 from opencloud-eu/no-registry-lookup-in-cli
...
No registry lookup in cli
2026-05-18 11:38:21 +02:00
Jörn Friedrich Dreyer
2b1c4fe300
index command: allow passing insecure flag
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2026-05-13 14:00:19 +02:00
Jörn Friedrich Dreyer
13c7af7f7f
tests: set endpoint for index cli
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2026-05-13 13:52:26 +02:00
v.scharf
3be224127e
adjust test
2026-04-23 17:07:00 +02:00
v.scharf
4536fb20ce
adjust tests
2026-04-23 17:07:00 +02:00
Ralf Haferkamp
44bbc07273
tests: Adjust acceptance test for recent Space sharing changes
...
The `id` property of the `permissions` on a space root does not
longer have that special `u:<userid>` format any. It now has the
same format as the permission id on "normal" driveItems.
2026-04-23 17:07:00 +02:00
Viktor Scharf
627f9a742e
api-tests: search for favorites ( #2487 )
2026-03-18 11:10:09 +01:00
Viktor Scharf
e161069317
favorites tests ( #2474 )
2026-03-16 14:49:17 +01:00
Sawjan Gurung
d49123b36b
test: auto-generate virus files before test run ( #2191 )
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2026-01-21 14:07:41 +05:45
Sawjan Gurung and Viktor Scharf
601ebc0f0f
[full-ci] test: use single command to run the containers and the API tests ( #2169 )
...
* test: setup for running wopi API tests locally
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* chore: remove unnecessary target
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: merge test run commands
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: merge local and core expected failures
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: remove unnecessary commands and files
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: add help command
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* docs(test): update testing docs as per the new changes
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: remove duplicate expected failure list
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* tset: fix term colors in run script
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* docs(test): update readme docs
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: beautify logs
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* change run-test.sh
* test: expose more test envs
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* docs(test): update docs
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
---------
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
Co-authored-by: Viktor Scharf <v.scharf@opencloud.eu >
2026-01-20 16:44:04 +05:45
Viktor Scharf
6e7538a834
replace CI images
2026-01-09 11:42:43 +01:00
Sawjan Gurung
38786ab291
[tests-only] test: fix API tests ( #2087 )
...
* test: use placeholder value
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: fix antivirus test expectations
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
---------
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2025-12-30 10:29:09 +05:45
Viktor Scharf
9b62a97857
[full-ci] use graph api in the enforcePasswordPublicLink.feature ( #2050 )
...
* use graph api in the enforcePasswordPublicLink.feature
* delete from expected failures file
2025-12-18 14:05:52 +01:00
Sawjan Gurung
3ea736c283
[full-ci][tests-only] test: check last email content with retries as emails can be delayed ( #2038 )
...
* test: check last email content with retries
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: cleanup unused const
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
---------
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2025-12-16 18:08:22 +05:45
Sawjan Gurung
cffeb4a690
[full-ci][tests-only] test: fix some test flakiness ( #2003 )
...
* test: check content after upload
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
test: check content with retry
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: check empty body before json decoding
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: wait post-processing for webdav requests if applicable
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: check token before doing request
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
test: check body before json decoding
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
test: add wait step
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
---------
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2025-12-15 14:45:12 +05:45
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
Saw-jan
c3a7892889
test: proper resource existence check
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2025-12-09 10:51:06 +05:45
Viktor Scharf
7318fde6a0
fix-get-attribute-test ( #1974 )
2025-12-04 14:24:57 +01:00
Viktor Scharf and Jörn Friedrich Dreyer
2bdd98f5cf
[full-ci] revaBump-v2.40.1 ( #1927 )
...
* revaBump-v2.40.0
* adapt tests
* bring-#442
* adapt tests
* bring-#444
* ocm fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* adapt tests
* adapt unit tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* revaUpdate-2.40.1
* update opencloud-version-4.0.0-rc.3
---------
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-11-28 17:34:12 +01:00
Ralf Haferkamp
aa44a5f6ed
tests: Wait for post-processing to finish before editing the file
...
Otherwise the test is racy. The file might still be stuck in
post-processing so the admin would update an empty file.
2025-11-26 17:03:39 +01:00
Viktor Scharf
9d173f0ea6
api-tests: delete spaces before users ( #1877 )
...
* delete spaces before users
* delete users after deleting spaces
* fix
2025-11-20 09:12:48 +01:00
Artur Neumann
76713480e3
increase wait for seach index
2025-11-07 13:23:55 +05:45
Artur Neumann
b783059846
increase timeout waiting for notification
2025-11-07 13:20:10 +05:45
Ralf Haferkamp
500487f2fa
test: fix a few more collaborative posixfs test ( #1777 )
...
wait for postprocessing to complete before accessing files on disk
Related: #1747
2025-11-04 16:46:34 +01:00
Viktor Scharf and Ralf Haferkamp
59eb411024
correct STORAGE_USERS_POSIX_WATCH_FS env typo in CI ( #1746 )
...
* correct env typo
* set STORAGE_USERS_POSIX_SCAN_DEBOUNCE_DELAY=0
* tests: wait for postprocessing to finish before accessing files
---------
Co-authored-by: Ralf Haferkamp <r.haferkamp@opencloud.eu >
2025-11-04 10:22:06 +01:00
Artur Neumann
5b98860585
check status of postprocessing before accesing the file ( #1762 )
2025-11-03 14:13:46 +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
Viktor Scharf
f04f6ad470
[full-ci] feat: implement OIDC authentication option ( #1676 )
...
* feat: implement Bearer Token authentication option
* fix
2025-10-27 11:17:44 +01:00
Viktor Scharf
c916528788
[full-ci] deleted unused step definitions ( #1639 )
...
* deleted unused step definitions
* fix flaky tests. rearange ine numbers
2025-10-10 11:34:43 +02:00
Viktor Scharf
07a8fef80e
fix clicommand test
2025-10-08 16:45:16 +02:00
Viktor Scharf
0399398bc8
do not save edited users
2025-10-08 16:45:16 +02:00
Viktor Scharf
681ed49dc4
deleting user by userId in test
2025-10-08 16:45:16 +02:00
Viktor Scharf
25246782b2
[full-ci] Enhance getSpaceByName: check local cache before Graph API calls ( #1574 )
...
* Enhance getSpaceByName: check local cache before Graph API calls
* Update API endpoint for regular user drives
2025-09-30 13:08:21 +02:00
Viktor Scharf
723340dba6
[full-ci] getting personal space by userId instead of userName ( #1553 )
...
* getting personal space by userId instead of userName
* delete geting userId via api call
* add new created user id to user list
* fix after review
2025-09-26 10:51:41 +02:00
Viktor Scharf
aba3a29e8e
Apitest. file extension change
...
git checkout -b file-extension-rename-test
2025-09-09 12:28:39 +02:00
Viktor Scharf
28770fe20d
run all tests with POSIX_WATCH_FS=true ( #1342 )
2025-08-15 13:44:35 +02:00