Commit Graph
299 Commits
Author SHA1 Message Date
Deyan Zhekov 55173be919 feat: [OCISDEV-744] fix apiSearch2 test suite
* test [OCISDEV-744]: Run apiSearch2 test suite

* Added php8.4-gd to all 4 PHP install lines

* test [OCISDEV-744]: Enable all commented tests

* test [OCISDEV-744]: Fixed failings

* test [OCISDEV-744]: Fixed failings
2026-04-07 11:40:27 +03:00
Michal Klos 03e7194f91 feat: [OCISDEV-744] core-api-test 2026-04-01 14:24:05 +02:00
Sawjan Gurung 39192c7bea ci: use existing servers (#12100)
* ci: enable k8s setup for remaining suites

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: use existing servers

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix mail setup

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix tika

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix csp directives

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: merge ocm provider configs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix notification tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix script file

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: enable ocm server logs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix pattern

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix cluster wait

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: run auth-app only when required

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix sharing tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-03-12 10:46:13 +05:45
Ashim Shrestha d6ab9216b0 [tests-only][full-ci] Test: run ocm test suite over k8s (#11869)
* test: run ocm tests over k8s setup

Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>

* address review

Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>

---------

Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>
2026-02-27 16:26:20 +05:45
Michal Klos 4f4fb4a3fb fix: flaky cli test (#12038) 2026-02-23 12:31:12 +01:00
pradip 7753e2aa22 test: run Core-API-8 test suite on k8s 2026-01-08 10:42:05 +05:45
Niraj Acharya 413bf9307a test: fix antivirus tests 2025-12-18 13:20:11 +05:45
pradip b5960ce339 test: refactor feature files to make services use their own configs 2025-12-08 14:17:16 +05:45
pradip 6705e3997e test: run sharingNgLinkShare suite in K8s 2025-12-05 12:18:34 +05:45
Ashim Shrestha 9013b4e724 Merge pull request #11010 from owncloud/test/test-for-flaky-share-expire-step
[tests-only][full-ci] Test for share expiration grouped emails
2025-11-05 17:29:49 +05:45
Ashim Shrestha 5c9924cd61 test: update step for resource expiration 2025-11-05 16:56:25 +05:45
Niraj Acharya 7a8ec7d0db test: add test to delete personal space 2025-10-31 11:54:01 +05:45
Pradip Subedi f062482881 Merge pull request #11668 from owncloud/test/include-apiSpaces-suite-in-k8s
[tests-only][full-ci] Test: make tests inside `apiSpaces` suite run over k8s
2025-09-24 17:02:29 +05:45
pradip 9ebedfb06c test: cleanup 2025-09-24 13:08:17 +05:45
pradip 3d4842537b test: include rollback function 2025-09-24 12:18:59 +05:45
pradip 87ac70814f test: update env for storageusers service 2025-09-24 11:56:35 +05:45
pradip 15cc11e0be test: make tests inside apiSpaces run over k8s 2025-09-24 10:51:15 +05:45
Saw-jan c0255880ee test: wait for share to sync
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-09-22 17:06:57 +05:45
Lukas Hirt 81162873f3 style: fix formatting 2025-09-19 15:42:02 +02:00
Lukas Hirt 72cbc44a4a test: handle empty prefix in WebDAV href pattern matching
Fix regex pattern construction in assertXpathValueMatchesPattern when
prefixRemotePhp is empty. Previously, empty prefix resulted in double
slash patterns (//dav/...) that failed to match actual single slash
href values (/dav/...).

Resolves "Unknown modifier 'd'" regex error in WebDAV property tests.
2025-09-19 15:39:01 +02:00
Niraj Acharya 77ec7d1559 test: run tests on kubernetes with ociswrapper 2025-09-05 12:28:06 +05:45
Nalem7 76b55d5775 Merge pull request #11575 from owncloud/tests/unified-roles
[test-only][full-ci] add tests on cli command for listing unified roles
2025-08-18 12:18:58 +05:45
Nalem7 d06ca73781 Merge pull request #11597 from owncloud/tests/postprocessing-cli-command
[tests-only][full-ci] add tests for postprocessing cli command
2025-08-15 15:44:59 +05:45
nabim777 07c02a6dec add tests for postprocessing cli command
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2025-08-15 12:40:17 +05:45
nabim777 7e06756924 add tests for resume specific failed upload using cli
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2025-08-13 14:59:10 +05:45
861b20dc9d chore(deps): bump github.com/olekukonko/tablewriter from 0.0.5 to 1.0.9 (#11570)
* chore(deps): bump github.com/olekukonko/tablewriter from 0.0.5 to 1.0.9

Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 0.0.5 to 1.0.9.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v0.0.5...v1.0.9)

---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
  dependency-version: 1.0.9
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: adjust to tablewriter 1.0.9 (AI-powered)

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

* update to NewTable

* bring back a Footer

* fix the tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
2025-08-06 09:39:49 +02:00
Ashim-Stha fa79fca24b test: add test for deleting folder with Transfer-Encoding: chunked header
Signed-off-by: Ashim-Stha <ashimshrestha2384@gmail.com>
2025-08-04 10:08:40 +05:45
Ashim-Stha eb273c742b test: add test for moving folder with Transfer-Encoding: chunked header
Signed-off-by: Ashim-Stha <ashimshrestha2384@gmail.com>
2025-08-04 10:08:40 +05:45
Ashim-Stha c88e134111 test: add test for creating folder with Transfer-Encoding: chunked header 2025-07-30 17:40:21 +05:45
mschlachter 7cba4c69d2 feat: Add optional custom label when creating app token using api (#11555)
* Add optional custom label when creating app token using api

* Add acceptance test for custom app token label

* Update auth-app README to account for new POST query param

* Add changelog for app token labels

* Fix variable name + spacing

* Add missing context for acceptance test

* Fix references to expected failures in acceptance tests
2025-07-29 21:34:32 +02:00
pradip bb8d47eec2 test: delete a notification using its id 2025-07-23 16:58:04 +05:45
pradip 6694bf1048 test: add test for checking activities without itemId 2025-07-11 12:17:41 +05:45
Sawjan Gurung bb28f80dbc Merge pull request #11412 from owncloud/test/split-additional-role-suites
[tests-only][full-ci] refactor additional share role test suite
2025-06-30 17:13:14 +05:45
Saw-jan a5a5c77c77 test: get single share form share store
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-30 13:00:12 +05:45
Saw-jan 99f1c3a42f test: refactor additional share role test scenarios
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

test: refactor additional share role test scenarios

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-30 13:00:12 +05:45
Saw-jan d790d87441 test: store setting id per user
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-30 12:19:16 +05:45
Saw-jan 96d78a4781 test: use created id while updating the setting
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-30 12:19:16 +05:45
Saw-jan c4d9ac2c3b test: add step to try to restore trashed file
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-27 16:55:20 +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
Prajwol Amatya b4801f0bc7 add test for restart expired upload session 2025-06-20 12:22:55 +05:45
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 c731dcd0df refactor: add concatenation lint rules
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +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
Saw-jan 98c96efa46 refactor: add indentation lint rule
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan 4a798944f9 refactor: add no_unused_imports lint rule
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan b64384a205 test: refactor upload expired cli test scenario
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 10:31:27 +05:45