Commit Graph

79 Commits

Author SHA1 Message Date
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
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