Commit Graph

62 Commits

Author SHA1 Message Date
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
Viktor Scharf
3e3d3f9de2 [test-only] ApiTest. get users of members of several groups (#5575)
* get users with group filter

* fix test
2023-02-16 16:34:13 +01:00
Prarup Gurung
984f848cbd Removed scenarios tagged with notToImplementOnOcis tag 2023-02-15 09:05:07 +05:45
Viktor Scharf
7c9452768e [test-only] ApiTest. create tag (#5391)
* create tag

* split method

* fix after review
2023-01-17 12:41:56 +01:00
Saw-jan
335144e50b add tests to check 425 too early behavior
add tests to check 425 too early behavior

add delay postprocessing suite pipeline

add step def
2023-01-06 11:47:35 +05:45
Swikriti Tripathi
7dbfcf63e0 Adds api tests to download folder from public link 2023-01-05 12:58:17 +05:45
Saw-jan
0514ae1085 add missing helpers and context
remove core caching
2023-01-05 09:23:50 +05:45
Saw-jan
42fb4a68e4 fix: get test suites for core api tests
remove oc10 specific test suites

provide behat config with make command

fix typo

add missing helpers
2023-01-05 09:23:30 +05:45
Saw-jan
048557712e remove unnecessary suite config
remove unnecessary script from run.sh
2023-01-05 09:23:17 +05:45
Saw-jan
34d69735f6 use separate behat config for core tests 2023-01-05 09:23:05 +05:45
Kiran Parajuli
7d152e2ad1 Copied acceptance tests infrastructures from oC/core
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2023-01-05 09:21:34 +05:45
Sawjan Gurung
334811186c [tests-only][full-ci] Add CORS API tests (#5187) 2022-12-16 11:55:18 +05:45
Viktor Scharf
34e4f0f1dc assign role to user 2022-11-22 22:52:05 +01:00
Viktor Scharf
753812bf63 [test-only] add API acceptance tests to create user using the admin privilege (#4902)
* add api test

* fix typo

* php style fix
2022-11-04 12:39:54 +01:00
Viktor Scharf
51c16e41be [test-only] ApiTest.check all response items (#4886)
* check response

* php-style fix
2022-10-25 13:48:01 +02:00
Prarup Gurung
46cd7b45f4 shares jail spaces related tests separated to apiSpacesShares suite 2022-09-29 10:53:59 +05:45
sagargurung1001@gmail.com
9489e179dd Remove folder lock related tests from ocis 2022-09-09 14:04:59 +05:45
Swikriti Tripathi
4e27dbcd50 Add context in behat.yml 2022-09-07 21:14:53 +05:45
Swikriti Tripathi
967e7f4416 Add api tests for tus upload when quota is set 2022-09-05 16:09:18 +05:45
sagargurung1001@gmail.com
23196c7c18 Reuse locking method from core 2022-09-05 14:01:20 +05:45
sagargurung1001@gmail.com
84c48066f2 Add commit and branch related to this PR to work 2022-09-05 10:54:43 +05:45
Phil Davis
4c58ce35c5 Cleanup spaces in all local API test suites 2022-08-25 17:39:55 +05:45
Prarup Gurung
07af8544e8 Added test for creating group with case sensitive 2022-08-24 16:33:47 +05:45
Viktor Scharf
01677b37b8 add search test
add new line to the end

change coreCommitId

change coreCommitId

revert CORE_BRANCH
2022-06-30 10:47:41 +02:00
Phil Davis
c796f01396 Adjust acceptance test code 2022-05-12 09:43:50 +05:45
Viktor Scharf
575312c2ce add apiTests. preview of the file (#3731) 2022-05-11 09:13:59 +02:00
Kiran Parajuli
b802c78762 Remove jarnaiz/behat-junit-formatter from acceptance tests
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 15:25:27 +05:45
Phil Davis
3afb6cc4d7 Refactor SpacesContext 2021-12-21 21:25:45 +05:45
Phil Davis
5af08c516b [tests-only] Minor local API test changes 2021-12-14 10:10:13 +05:45
Artur Neumann
13098d9f32 API tests for archiver endpoint (single file) 2021-11-09 14:13:26 +05:45
Michael Barz
c1ef23a761 add also propfind steps 2021-10-21 14:47:42 +02:00
Michael Barz
72cb487b75 add formerly removed RevaContext 2021-10-18 16:00:14 +02:00