Commit Graph
65 Commits
Author SHA1 Message Date
Pradip Subedi a66ae6783d [tests-only][full-ci] test: fix flaky grouped email notification (#12882)
* test:start auth-bearer service separately instead of via OCIS_ADD_RUN_SERVICES

* test: fix timezone-dependent expiry assertions and flaky email notification

* test: simplify host timezone detection and log the UTC fallback

* test: oonly run cli commands test suite

* test: run all suites

* test: resolve the expiry timestamp in the timezone the mail was sent in

* test: inline the UTC expiration date conversion and drop the helper

* test: simplify the mail timezone formatter and restore the CI coverage guard
2026-10-01 16:37:56 +05:45
Prajwol Amatya 5d9d80b45b [tests-only][full-ci] test: retry copy operation on 500 status code (#12973)
test: retry copy opetation on 500 status code

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-09-18 17:10:39 +05:45
Nalem7 1d319a4552 [tests-only][full-ci] add retry logic for file copy requests (#12781)
* test: add retry logic for file copy and move requests

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* test: add retry logic for file copy request only

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

* test: add retry once for 500 status code only

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>

---------

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2026-08-17 10:46:51 +05:45
Nalem7 86105b86af [tests-only][full-ci] test: add retry once for space creation wherever required (#12785)
test: add retry once for space creation

Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2026-08-14 12:11:34 +05:45
Prajwol Amatya 42cb013e8f [tests-only] test: search resources in vault (#12685)
* test: search resources in vault

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

* test: add test to search using content and tags

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

* test: add tika service for vault tests

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

---------

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-08-07 09:11:49 +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 91f0671153 [tests-only] test: add test to copy resources from drive to vault and from vault to drive (#12576)
test: add test to copy resources from drive to vault and vice versa

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-07-28 14:23:42 +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
Pradip Subedi 79b380aba5 [tests-only][full-ci] test: add oc:spaceid to REPORT response acceptance tests (#12489)
test: add oc:spaceid to REPORT response acceptance tests
2026-07-02 17:17:32 +05:45
Deyan ZhekovandMichal Klos 196664c0f0 feat: [OCISDEV-779] reduce CI duration, PHP-version (#12217)
* feat: [OCISDEV-779] reduce CI duration, php-version

* feat: [OCISDEV-779] fix flaky test in apiSharingNgShares

* feat: [OCISDEV-779] fix flaky preview comparison

* feat: [OCISDEV-779] fix flaky preview comparison

* feat: [OCISDEV-779] replace manual PHP installation with shivammathur/setup-php action

* feat: [OCISDEV-779] fix Pre-checks and generate step

* feat: [OCISDEV-779] fix flaky preview comparison

* feat: [OCISDEV-779] fix failing test

---------

Co-authored-by: Michal Klos <michal.klos@kiteworks.com>
2026-04-16 20:53:40 +02:00
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
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
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 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
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 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
amrita-shrestha 2a6bc483fa add tests for restoring specific and all trashed resource all once 2025-05-23 13:02:11 +05:45
nabim777 6f375eeba8 test: test for accessing same share received via user and group 2025-05-12 11:59:56 +05:45
pradip 5aef1fbd3b test: remove xRequestId parameter 2025-04-24 17:42:55 +05:45
amrita-shrestha c2007e12f5 list grant roles permission 2025-04-10 15:41:29 +05:45
amrita ca05b26636 add tests for share expiry 2025-03-20 15:46:27 +05:45
Prajwol Amatya e6af462296 added test to list shares after disabling Editor role 2025-03-17 12:42:04 +05:45
pradip 1848e43f08 tests: grouped email notification using CLI command 2025-03-06 17:14:02 +05:45
prashant-gurung899 fe01fec98a add test to enable federated shared resource
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-03-06 16:19:55 +05:45
prashant-gurung899 5411c5ecf0 test: add test to create folder inside federated share
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-02-28 12:15:02 +05:45
Prajwol Amatya 316bd72ccd added test to enable disable share permissions role for federated shares 2025-02-28 10:00:31 +05:45
Saw-jan e25958e692 test: skip spaces that are marked as deleted
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-02-24 12:16:45 +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
Saw-jan 212f9bf980 test: combine similar steps 2025-02-19 10:46:47 +05:45
amrita 886003a88e store-share-invite-response 2025-02-17 10:01:38 +05:45
Prajwol Amatya 000a4f9fe8 added test to list drives after share has been disabled 2025-01-02 14:26:33 +05:45
pradip 5383e55612 test: change share role Denied to-and-fro role in Personal and Project space 2024-12-31 12:44:46 +05:45
Niraj Acharya 089ccc1ca3 updating lint rules for test code 2024-12-30 09:18:45 +05:45
prashant-gurung899 f5f30f053b fix typo in then steps
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-12-17 13:04:19 +05:45
Saw-jan 158cede97f test: check file-parent id in shares propfind 2024-12-11 11:25:45 +05:45
amrita e83b63ffe6 rename variable name and remove unwanted function 2024-12-02 16:53:12 +05:45
amrita e76ba90bee remove getResponseXml 2024-12-02 16:51:51 +05:45
Sawjan Gurung 2e40f9905c Merge pull request #10523 from owncloud/ocm-test-shared-file
[tests-only][full-ci] adding test for editing shared file(OCM) by the share receiver
2024-11-28 14:18:36 +05:45
amrita 62b314dc91 add test for template 2024-11-28 10:44:44 +05:45
Niraj Acharya 4f8fd47058 adding test for editing shared file(OCM) by the share receiver 2024-11-28 09:21:41 +05:45