Pascal Bleser
5b9c898f07
test: log all headers of requests and responses in the acceptance tests ( #4105 )
...
HttpLogger assigned each header instead of appending it, so the request
log only showed the last header of each request and response, usually
Date. Format all headers, with all their values and the indentation of
the rest of the log. Mask Authorization and Cookie: the logs are public
in the CI.
Fixes #4104
Assisted-by: Claude Code:claude-opus-5-5
2026-11-24 08:46:32 +01:00
Pascal Bleser
bae276fde6
test(acceptance): fail on responses that are cut off after their headers
...
When the transfer of a response broke off after its headers, e.g.
because the server aborted it, sendRequestOnce caught the exception and
passed the incomplete response on as if it were complete. Tests then
failed later, and misleadingly, e.g. with a JsonException on the cut-off
body, or passed when they only checked the status code.
Re-throw Guzzle's ResponseTransferException, so that such a test fails
at the request, with the transfer error (e.g. cURL error 18).
Refs #4008
Assisted-by: Claude Code:claude-opus-5-5
2026-11-16 12:01:55 +01:00
Pascal Bleser
67e210a541
feat(graph): add the v1beta1 endpoints for a single drive
...
Under /graph/v1beta1, drives could only be listed. Getting, creating,
updating and deleting a single drive was only possible under v1.0,
which returns the permissions of a drive's root with the old role names
instead of the IDs of the unified roles.
Add GET, PATCH and DELETE on /graph/v1beta1/drives/{driveID}, and POST
on /graph/v1beta1/drives. They take the same requests as their v1.0
counterparts. GET, POST and PATCH return the drive in the v1beta1
format, like the v1beta1 list of drives does: with
$expand=root($expand=permissions), the permissions carry the unified
role IDs and grantedToV2. DELETE behaves the same in both versions.
The handlers for getting, creating and updating a drive now take the
API version as a parameter, and the v1.0 and v1beta1 routes call them
with their own version.
The acceptance test helpers for spaces can now use either version of
the Graph API.
Assisted-by: Claude Code:claude-opus-5-5
2026-11-13 19:14:34 +01:00
Sara Ahmadi
64a1ac8339
feat(graph): add GET endpoints for single sharing permissions
...
Assisted-by: Claude Code:claude-opus-5-5
2026-11-10 18:18:01 +01:00
Viktor Scharf
4e318264ee
tests: add acceptance tests for renewing guest links ( #3753 )
...
* tests: add acceptance tests for renewing guest links
Cover renewing a guest link with and without a session, the PIN, rate limiting and the expiry of the session and the PIN.
* tests: replay used PIN with its nonce in PIN-once scenario
2026-10-23 14:32:46 +02:00
Viktor Scharf
8517f84ea3
tests: add acceptance tests for sharing with guests via email ( #3751 )
...
Share resources with an email address via the sharingNg API and access them with the guest link from the email.
2026-10-19 11:39:48 +02:00
Sawjan Gurung
9bb2d22b39
test(api): simply HTTP request retry conditions ( #3696 )
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2026-10-12 12:37:35 +05:45
Viktor Scharf
658a782007
test: retry acceptance requests while share manager is migrating ( #3681 )
2026-10-09 09:33:57 +05:45
Michael Barz and v.scharf
b955c7c4f0
feat: add new editor roles ( #3637 )
...
* feat: add new editor roles
* add tests for additional roles
* fix: disable new roles in config
* adjust tests
* fix listGrantsShareRole test
---------
Co-authored-by: v.scharf <v.scharf@opencloud.eu >
2026-10-05 14:07:30 +02:00
Viktor Scharf and Florian Schade
35e4d4a3d6
api-test: retry token refresh on transient IDP failures ( #3507 )
...
* api-test: retry token refresh on transient IDP failures
* Fix retry condition in token exchange logic
* test: keep the retry limit a limit and the refresh fallback to exceptions
---------
Co-authored-by: Florian Schade <f.schade@icloud.com >
2026-09-11 14:56:57 +02:00
Viktor Scharf
994086ceb2
add search retry to all serach tests ( #3500 )
2026-09-09 15:21:23 +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
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
f3693ef112
api-test: cover additional unified roles in acceptance tests ( #3169 )
2026-07-27 09:12:38 +02:00
Viktor Scharf
e161069317
favorites tests ( #2474 )
2026-03-16 14:49:17 +01:00
Saw-jan
0570f2ecea
ci: check discovery urls
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2026-01-27 09:57:30 +05:45
Saw-jan
a3f9ebdce8
test: add date-time in the request-response log
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2026-01-27 09:43:24 +05:45
Viktor Scharf
38d6ad53cd
replace exception to assersion ( #2196 )
2026-01-22 07:22:12 +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
Viktor Scharf
3eac173644
fix flaky #2145
2026-01-15 13:23:44 +01:00
Sawjan Gurung
8d092b49a9
test: wait post-processing to finish for MKCOL requests ( #2092 )
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2025-12-30 14:58:17 +05:45
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
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
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
2fba3c5cdd
check thumbnails in the share with me response ( #1605 )
...
* check thumbnails in the share with me response
* check preview in report response
2025-10-07 07:43:46 +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
62a7f79f51
multiTenancyTests ( #1313 )
...
* multiTenancyTests
* fix linter issues
* fix after review
2025-08-08 10:16:57 +02:00
Viktor Scharf
b11cd0def3
apiTest. select option for root/permissions endpoint ( #942 )
2025-06-06 08:14:05 +02:00
Viktor Scharf
308f801f03
collaborative posix test ( #672 )
...
* collaborative posix test
* fix after review
2025-05-05 10:21:11 +02:00
Viktor Scharf
0db2145cef
fix gherkin lint
2025-03-10 15:10:32 +01:00
Jörn Friedrich Dreyer
74b6078158
bump reva, change decomposeds3 drivername
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-02-20 11:07:31 +01:00
Jörn Friedrich Dreyer
a5c9cbc26e
drop project reference in testsuite headers, copyright and license remain
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-29 17:20:44 +01:00
Ralf Haferkamp
1c96633985
Adjust LDAP base DN in tests to dc=example,dc=org
2025-01-29 11:59:06 +01:00
André Duffeck
57fa8eb43c
Switch from ocis/s3ng to decomposed/decomposed_s3 storage drivers
...
ocis/s3ng are still supported for backwards compatibility reasons, but
they need to be configured using the decomposed/decomposed_s3 options.
2025-01-24 11:04:23 +01:00
Viktor Scharf
7a28e6f49d
settins tests fix
2025-01-20 10:16:59 +01:00
Viktor Scharf
1a20a85928
fix
2025-01-16 18:17:58 +01:00
Viktor Scharf
9db4693a9e
rebranding tests
2025-01-16 17:39:02 +01:00
Jörn Friedrich Dreyer
a46fd132bd
use OC_ env prefix
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:11:11 +01:00
Niraj Acharya
d601cb1d6d
add test for creating auth tocken for an app using impersonation api
2025-01-09 15:03:37 +05:45
amrita
c652cbc604
add tests on list permission with query
2025-01-06 10:11:23 +05:45
Niraj Acharya
089ccc1ca3
updating lint rules for test code
2024-12-30 09:18:45 +05:45
Sawjan Gurung
fbf49a747f
Merge pull request #10624 from owncloud/set-chunking-version
...
[tests-only][full-ci] refactor: Set chunking version 1 as default
2024-12-13 11:25:54 +05:45
pradip
e4a836503f
test(refactor): refactor some scenarios to the original and step definition
2024-12-13 10:02:41 +05:45
Saw-jan
7546e476be
test: allow items check for multiple array items
2024-12-11 11:55:47 +05:45
Niraj Acharya
6c00b5d26b
add test for creating auth tocken for an app using api
2024-12-11 11:54:30 +05:45
Sabin Panta
930f9053d8
Merge pull request #10722 from owncloud/list-permission-denied
...
[tests-only][full-ci] adding test for listing permission of a folder in personal and project space with denied role enabled
2024-12-11 09:23:11 +05:45
pradip
4515240a67
test(refactor): remove variable in other code
2024-12-10 11:28:57 +05:45
Saw-jan
ad2e310ec3
tests: more checks
2024-12-09 17:33:02 +05:45