Commit Graph

93 Commits

Author SHA1 Message Date
Viktor Scharf
b51ba47e01 check email in the search sharee request (#8861) 2024-04-17 11:42:09 +02:00
Nalem7
16c412f870 add test for downloading resouces by user when auto sync is disabled (#8737) 2024-03-27 15:37:23 +05:45
Viktor Scharf
79c74711c4 [full-ci] Delete resharing tests (#8704)
* feat: disable resharing by default

delete re-sharing tests

* fix tests

---------

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2024-03-27 10:30:25 +01:00
Viktor Scharf
ad7cf8f77a [test-only] add test for uploading with Tus using CORS (#8508)
* add test for uploading with Tus using CORS

* fix
2024-02-23 11:47:52 +01:00
Sawjan Gurung
c7b50b4540 [tests-only] add API test coverage for trying to search with invalid pattern (#8441)
* test(api): test coverage for invalid search pattern

* test(api): fix typo
2024-02-14 10:44:04 +05:45
Prarup Gurung
14888f3b7c Added tests to lists file shared with them when sync is disabled 2024-02-06 14:36:58 +05:45
Viktor Scharf
a9bf0f9bd5 [test-only] Cors test for settings api (#8286)
* add cors tests for settings api

* fix
2024-01-25 14:17:13 +01:00
Sawjan Gurung
e07f4f0cb4 [tests-only][ci] split large API test suites (#8212)
* split large API test suites

* remove 30s sleep

* organize core-api test suites

* organize core-api test suites

* divide into 9 pipelines

* organize core-api test suites

* organize api-search suites

* organize api-search suites

* fix config file
2024-01-19 15:16:19 +05:45
Sawjan Gurung
bc59eab37b [tests-only] Added API tests coverage for MOVE within same folder with same filename (#8135)
* added API tests for moving a file within same folder and same name

* added API tests for moving a file within same folder and same name (file-id)

* update expected failure file
2024-01-09 16:33:04 +05:45
Sagar Gurung
c46db2b7cb [tests-only][full-ci]Added tests for setting password in a public share link (#8079)
* Added tests for set/update for password for public link

* Added assertion step for password update

* Rebase and refactor setPassword step

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review Address

* Review Address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-05 13:57:59 +05:45
Sawjan Gurung
0f9f996aba [tests-only] Extend API test coverage for MOVE between spaces (#8113)
* extend API test coverage for MOVE between spaces

* update line numbers
2024-01-03 12:09:59 +01:00
Sagar Gurung
88aa44a768 [tests-only][full-ci]Added tests for create link share without password (#8040)
* Added tests for create link share without password

* fix CI failure
2023-12-22 16:28:47 +05:45
nirajacharya2
dd12844282 adding test for file version of a share in a projectspace (#7829) 2023-12-14 14:44:27 +05:45
Viktor Scharf
b4d1feea5f apiTest: listPermissions (#7946)
* apiTest: listPermissions

* fix after review

* fix
2023-12-13 12:34:49 +01:00
Swikriti Tripathi
279d0f8563 [tests-only][full-ci] move tests coreApiWebdavLocksUnlock/unlockSharingToShares.feature from to local api (#7769)
* tests:move tests from coreApiWebdavLocksUnlock/unlockSharingToShares.feature to local api

* tests: remove unnecessary behat config
2023-11-21 17:45:34 +05:45
nabim777
c52f2fc8ca add tests for move file within shares using file-id 2023-11-21 10:13:56 +05:45
Viktor Scharf
91ae5172f6 [full-ci]Enforce pass by default. changed api tests (#7706)
* set enforce pass by default. change tests

* fix tests

* fix test
2023-11-13 23:37:12 +01:00
Swikriti Tripathi
861e32eadb [tests-only][full-ci]Move lock related tests to new suites (#7645)
* Move lock related tests to new suites

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* update expected to fail file

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-11-02 12:31:19 +05:45
Viktor Scharf
711c86ef3a [test-only] new lock tests (#7595)
* add new lock tests

* fix after review

* Update WebDavLockingContext.php
2023-10-27 14:45:15 +02:00
Viktor Scharf
890b8bf991 [test-only] increase test coverage for content search (#7574)
* add search test

* Update contentSearch.feature
2023-10-26 08:33:17 +02:00
Viktor Scharf
c179485db6 [full-ci] ApiTests. enable auto accepting in api tests (#7477)
* enable auto accepting in test

* go format
2023-10-17 16:29:05 +02:00
Viktor Scharf
67cfcabe5d add test for default language (#7464) 2023-10-12 10:40:12 +02:00
Prarup Gurung
f72ffd014b Merge pull request #7396 from owncloud/tests/remove-unsed-steps
[tests-only] Remove AppConfigurationContext file
2023-10-04 14:52:21 +05:45
Sawjan Gurung
0bf863b451 [tests-only] Added tests with depth:infinity enabled (#7395)
* add depth infinity tests

* fix step

* add passing tests only

* format rable
2023-10-04 11:51:24 +05:45
Saw-jan
6e43e1f0ba include capabilities context 2023-10-03 15:16:08 +05:45
Saw-jan
dd95d73e0d remove AppConfigurationContext file 2023-10-03 14:10:20 +05:45
Viktor Scharf
c62d19cf32 [test-only] ApiTest. search by date (#7310)
* add search test

* comment out failed test

* deleted cases

* Delete tests/ban.txt
2023-09-21 17:17:28 +02:00
nabim777
93965cce40 move files in apiFullTextSearch 2023-08-31 12:46:46 +05:45
Prajwol Amatya
84bc7d88e2 added tests for reading content of a file by fileId using WebDav API (#6958) 2023-08-18 09:58:25 +05:45
KarunAtreya
dcbd45948e added scenarios for share and reshare disabling frontend_enable_resharing env 2023-08-01 16:44:02 +05:45
Nalem7
de550b73a1 add api test for search restored file through tag (#6709) 2023-07-25 14:54:27 +05:45
Amrita
6900a80511 Add more tests coverage (#6854) 2023-07-25 12:27:42 +05:45
Salipa-Gurung
926e547f99 add test for downloading space 2023-07-25 12:24:26 +05:45
Nalem7
441588ba18 search files using content (#6678) 2023-07-17 17:20:45 +05:45
Nalem7
9ca703f629 add api test for search file through tag (#6661) 2023-07-13 11:51:53 +05:45
nabim777
5ba7e887f7 add api test for search file through tag 2023-06-29 15:44:38 +05:45
Viktor Scharf
753c8f2372 [full-ci][tests-only] Check id file owner in response (#6627)
* check owner as spaceId in sharing response

* fix after review
2023-06-27 12:50:10 +02:00
Prajwol Amatya
831d57f748 [tests-only] [full-ci] API test for enforce password config and update the public share to edit permission (#6409)
* api test to update public link to upload, edit or contribute permission with enforce password enabled

* added test to create public link with enforce password enabled
2023-06-22 14:25:45 +05:45
Nalem7
f16f9bf7d1 add test for antivirus public link (#6454)
Co-authored-by: nabim777 <“nabinalemagar019@gmail.com”>
2023-06-09 10:07:15 +05:45
Sagar Gurung
7bac14d61c [tests-only][full-ci]Add step to set quota with env OCIS_SPACES_MAX_QUOTA (#6402)
* Add step to set ocis max spaces quota with env

* Add env-config tag to scenario for ocis roll back

* Fix red CI and and test for spaces

* Review address

* Reuse step for single env

* Remove doubtful scenario
2023-06-06 11:57:04 +05:45
Swikriti Tripathi
4b78e06e04 Add acceptance tests for antivirus (#6405)
test on ci

test on ci

run on detached mode

add wait for clam

fix syntax

fix syntax

try without wait

add clamservice to steps

use different wait for command

put sleep

test

wait for clamav service

Clean up tests and enable other tests in the ci

address reviews

add documentation

add docs for docker

address reviews

refactor docs

remove user premission as it's by default root

capitalize the letters
2023-06-02 17:11:17 +05:45
Amrita
53ee61ad87 [full-ci][tests-only]Extend notification api tests (#6324)
* Add api tests for notification

* Address review
2023-05-24 12:56:43 +05:45
Viktor Scharf
36d7e77baa [test-only][full-ci] Api tests. get notification on different languages (#6254)
* get notification on different languages

* set default english if no configured

* fix

* fix after review

* fix after rebase

* after review
2023-05-17 10:00:47 +02:00
Sawjan Gurung
9945dad647 [POC][full-ci] Testing various oCIS env configurations (#6062)
* run api tests

* run ocis via wrapper

* add context, helpers and steps change ocis config

* remove separate pipelines for special test cases

* add context to behat config

* fix suite name

* set wrapper url while running tests

* fix cors allow env name

* address review

* add ociswrapper codebase

* add ci pipeline to build and cache wrapper

* add step to check ociswrapper cache

* invalidate wrapper cache and build new

* build on pipeline step

* undo unnecessary changes

* undo unnecessary changes

* fix php code

* fix ocis run command

* use tag for teardown

* exclude wrapper vendor in codacy check

* fix typos
2023-05-11 17:21:52 +05:45
Prajwol Amatya
1f8164c527 [tests-only] [full-ci] api test for email notification (#6145) 2023-05-10 14:03:52 +05:45
Viktor Scharf
e3c5466e69 [api-test] first notification test (#5958)
* notification test

* fix after review

* fix lint
2023-03-31 09:42:58 +02:00
Prarup Gurung
9f99d03fc8 Removed LoggingContext and LoggingHelper 2023-03-17 12:33:26 +05:45
Prarup Gurung
b56fcd6677 Removed use of occContext 2023-03-01 15:25:57 +05:45
Prarup Gurung
166fe3ec30 OccContext.php file is removed 2023-03-01 14:30:41 +05:45
Prarup Gurung
0076c93dc6 Capabilities related scenarios are added in expected failure 2023-02-21 15:15:45 +05:45