1
0
mirror of https://github.com/owncloud/ocis.git synced 2026-10-28 12:39:37 +03:00
Commit Graph

26 Commits

Author SHA1 Message Date
Prajwol Amatya
3e3bb41132 [tests-only][full-ci] test: set up Keycloak users via HTTP instead of Web UI (#12930)
test: fix user mfa setup for vauld

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-09-16 12:12:55 +05:45
Firas Frikha
6d8bd29cef fix: [OCISDEV-1200] do not share vault resources with users who cannot access them (#12905)
* fix: [OCISDEV-1200] do not leak vault file names via share notifications

* test: [OCISDEV-1200] fix apiVault scenarios for users without vault mode
2026-09-14 15:49:35 +02:00
Prajwol Amatya
ddc34232f8 [tests-only][full-ci][k8s] test: run apiVault on k8s deployment (#12845)
* test: run apiVault on k8s deployment

Signed-off-by: Prajwol Amatya <prajwol.amatya@kiteworks.com>

* test: use oc_oAuth.user key to get token

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: debug storage-users-vault

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add post test debug

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: log and retry until the deadline

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: expose proxy readyz

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: configure auth level name for proxy and frontend services

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: generate admin access token if expired

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: check ociswrapper logs

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: roll back to default auth level name

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: check if retry works

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: clean deduplicate environments

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: revert changes

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: regenerate access token on expiry

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: pre remove exiting envs

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: debug ociswrapper

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: delete only confirmed duplicate key

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: set keycloak url from setup.sh

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: use the already running postgres for keycloak's database

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

---------

Signed-off-by: Prajwol Amatya <prajwol.amatya@kiteworks.com>
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
Co-authored-by: Prajwol Amatya <prajwol.amatya@kiteworks.com>
2026-09-10 16:49:07 +05:45
Pradip Subedi
ed1bc5ec9f [tests-only][full-ci] test(apiGraphGroup): add acceptance test for configurable LDAP group object class (#12751)
* test(apiGraphGroup): add acceptance test for configurable LDAP group object class

* test(apiGraphGroup): make LDAP object class test portable across test environments

* test: use multilines for message assertion
2026-08-18 16:42:55 +05:45
Prajwol Amatya
4b4c630540 [tests-only][full-ci] test: restore totp for user in before scenario and rename the step name to ckeck acr value from jwt token (#12748)
* test: move deleteUserTotpCredentials to before scenario

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: refactor the step to check acr vaule

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

---------

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-08-18 14:36:40 +05:45
Prajwol Amatya
d6bc1e2400 [tests-only] test: add test to add user to space in vault storage (#12610)
test: add test to add user to space

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-07-30 12:07:41 +05:45
Prajwol Amatya
5eb6366a6c [test-only] test: add test to check vault mode capabilities endpoint response (#12571)
* test: add test to check vault mode capabilities endpoint response

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add cleanup for Keycloak related configs after each test

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: use ocs version 2

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

---------

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-07-15 14:12:08 +05:45
Prajwol Amatya
b265241288 [tests-only][full-ci] test: add tests related to vault storage (#12482)
* test: test setup for vault storage

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add test to create file and folder in vault storage

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add test to check acr value from jwt token

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: setup vault storage in ci

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: update extraServerEnvironment

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: setup playwright

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: set keycloak true

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add env KC_URL

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add ignore https errors

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: check url

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: setup vault storage

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add test to check drive and vault resource isolation

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add test to check drive and vault resource isolation

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: store selectors in variable

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

---------

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-07-14 10:53:02 +05:45
Lukas Hirt
b933f48b68 test: adjust PHP code to support v8.4
The implicite nullable type has been deprecated.
This fixes it by explicitely typing every nullable type.
PHP is also bumped in composer and drone to v8.4.
2025-06-26 09:10:01 +02:00
Saw-jan
56e5fd20d6 refactor: add trailing-comma in method args and params
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 15:34:02 +05:45
Saw-jan
2c6c769695 refactor: add return type lint rules
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan
2ef566b85b refactor: add space related lint rules
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan
a565108302 refactor: add comment spaces lint rule
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan
625dc16417 refactor: add no_useless_else lint rule
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan
43865a9646 refactor: add trailing_comma lint rule
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
pradip
5aef1fbd3b test: remove xRequestId parameter 2025-04-24 17:42:55 +05:45
Saw-jan
456b18d6af test: fix shares space search 2025-02-19 17:26:14 +05:45
Sawjan Gurung
bdf274658c test: combine spaces and fix user deletion 2025-02-19 12:43:42 +05:45
Saw-jan
9713e9872b test: use store for personal, shares and created spaces 2025-02-19 10:46:47 +05:45
Niraj Acharya
089ccc1ca3 updating lint rules for test code 2024-12-30 09:18:45 +05:45
amrita
e83b63ffe6 rename variable name and remove unwanted function 2024-12-02 16:53:12 +05:45
Niraj Acharya
c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Saw-jan
327e6260ff tests: error handling
tests: remove unnecessary logs
2024-11-22 16:01:58 +05:45
Saw-jan
c3b442491d tests: update ocm setup and docs
docs: separate provider config

tests: substitution for local and remote server urls

tests: create local configs

tests: fix vscode debugger config

tests: separate federation share steps
2024-11-11 14:37:52 +05:45
prashant-gurung899
250650265c cleanup parallel deployment tests
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-09-10 12:02:33 +05:45
prashant-gurung899
d8d7b700cd reorganize test folders within the acceptance directory
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-08-28 14:54:45 +05:45