Sabin Panta
15d6a854dc
changed wording of mount unmount to enable and disable sync ( #8786 )
2024-04-10 12:53:19 +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
Sabin Panta
8f0b536ef7
[tests-only][full-ci]added test with step definition for mounting share when auto accept env set to false ( #8623 )
...
* added test with step definition for accepting pending share
* addressing review
2024-03-26 09:35:09 +05:45
Sabin Panta
25fa79d54a
[tests-only][full-ci]added test for declining a share ( #8636 )
...
* added test for declining a share
* updated step definition for disabling user
* addressing review
2024-03-21 14:03:09 +05:45
Sawjan Gurung
0df64c26cd
[tests-only] fix MOVE with another user dav path scenarios ( #8460 )
...
* test(api): fix MOVE with another user dav path scenarios
* test(api): fix php code style
* test(api): fix dav paths
* test(api): fix dav paths
2024-02-19 15:46:34 +05:45
nirajacharya2
d87f5b0316
adding test for updating role of a share ( #8329 )
2024-02-08 14:52:22 +05:45
Sagar Gurung
1281a730e8
[tests-only] Added test for sharingNg for endpoint sharedByMe from personal space ( #8285 )
...
* Added tests to list shared by me resources
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
* Review address
---------
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
2024-02-01 13:54:44 +05:45
Nalem7
d73351af89
[tests-only][full-ci] Make graph api default in test ( #8290 )
...
* make graph api default in test
* skip quota test in reva
2024-01-30 17:14:56 +05:45
Prajwol Amatya
b71cdd7004
added test to share space with different roles ( #8304 )
2024-01-30 13:57:03 +05:45
Swikriti Tripathi
00717481f7
[tests-only]test: add test for shared with me ( #8010 )
...
* test: add test for shared with me
* test: add test for shared with me shared file
* add missing field and add test to expected to fail
* address review
* test: move file
* tests: make differente funtion for regex fileid pattern matching
2024-01-25 09:47:56 +05:45
Viktor Scharf
ee6f155e1c
add more CORS tests ( #8254 )
2024-01-24 19:25:20 +01:00
Prarup Gurung
f08a9ae0d9
Added test for sending share invitation to normal user
2024-01-23 11:07:51 +05:45
nirajacharya2
448916a9dd
[tests-only][full-ci] forward port user and group search tests ( #8240 )
...
* fixing json assertion for addUserToGroup.feature
* adding tests for searching groups as a normal user
* adding tests for searching user as a normal user
* fixing json assertion for removeUserFromGroup.feature
* fixing json assertion for listPermissions.feature
2024-01-18 15:14:10 +05:45
Nalem7
d14935ad78
[tests-only][full-ci] Restructure the steps implementation for group delete to use graph API endpoint ( #8006 )
...
* remove ocs endpoint from delete group
* remove adminHasDeletedGroupUsingTheGraphApi
* adressing reviews
2024-01-17 15:42:31 +05:45
Prajwol Amatya
2424525a58
added test to send share invitation to multiple groups at once ( #8167 )
2024-01-15 11:53:08 +05:45
Sawjan Gurung
ff10d011e0
[tests-only] Added test coverage for checking file versions after MOVE ( #8183 )
...
* add test coverage for checking file versions after MOVE
* fix php style
* address reviews
2024-01-12 10:34:44 +01:00
Swikriti Tripathi
3976c1c1fc
[tests-only] tests: add tests for removing share permission ( #8130 )
...
* tests: add tests for removing share permission
* tests: add tests for removing share permission in group share
* tests: refactor test script for removing permission from share
* address reviews
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com >
2024-01-11 11:31:28 +05:45
Viktor Scharf
ec37788829
change naming in test ( #8140 )
2024-01-08 23:41:31 +01:00
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
Sagar Gurung
6e9b599195
[tests-only][full-ci]Added test to update role and expiration date for share link (v1beta1) ( #8071 )
...
* Added test to update role and expiration date for share link
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
* Review address
---------
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
2024-01-02 16:53:47 +05:45
Prarup Gurung
095578b717
[full-ci] [tests-only] Forward port of PR #8092 ( #8095 )
...
* Added test for sending share invitation to user with expiration
* Added test for sending share invitation to group with expiration
2024-01-01 17:19:15 +05:45
Prarup Gurung
e7cf24e486
Added test for sending share invitation to user with permissions
2023-12-28 08:21:00 +05:45
Sagar Gurung
65b8c1a767
[tests-only][full-ci]Added tests for creating link for a resource ( #7982 )
...
* Added tests for creating link for a resource
* review adress and refactor
2023-12-20 17:01:02 +05:45
Prarup Gurung
8f0818ebc1
Fixed php style
2023-12-20 09:33:43 +05:45
Viktor Scharf
4e6bdc1688
apiTest. set recipient type in body
2023-12-19 23:28:52 +01:00
Prarup Gurung
87d3762381
Added test for sending share invitation to user with role
2023-12-19 16:57:09 +05:45
Viktor Scharf
b4d1feea5f
apiTest: listPermissions ( #7946 )
...
* apiTest: listPermissions
* fix after review
* fix
2023-12-13 12:34:49 +01:00
Sawjan Gurung
834982e2fb
tests: add 60 seconds timeout for the API requests ( #7905 )
2023-12-07 18:14:08 +05:45
Swikriti Tripathi
66e09938cb
tests: add tests for update public link to delete password invite permission ( #7894 )
...
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com >
2023-12-06 17:00:47 +05:45
Swikriti Tripathi
580e8aeb46
tests: add api tests for changing system language using graph api ( #7817 )
2023-11-28 15:33:17 +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
nirajacharya2
cbfd894243
add query params to the log ( #7493 ) ( #7399 )
...
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com >
2023-10-31 12:17:50 +05:45
Prajwol Amatya
2bee588977
added test for previewing shared resource inside project space ( #7544 )
2023-10-26 12:59:34 +05:45
Sawjan Gurung
de4529d6b2
add query params to the log ( #7493 )
2023-10-16 11:41:09 +05:45
Sawjan Gurung
bd955f75ed
[tests-only] Log requests and responses for the failing tests ( #7371 )
...
* log request-response to a file
show logs in ci
move hooks to one place
* preserve logs between suites
* ignore logs
* Refactor and beautify logs
* fix php style
* add log step in ci pipeline
* get expected-failure file from env if available
2023-10-13 13:22:27 +05:45
Prajwol Amatya
25b5b6bee1
added test coverage for previewing shared resources using spaces dav path ( #7472 )
2023-10-13 11:51:08 +05:45
Saw-jan
c138bc68fd
fix steps
2023-10-06 14:55:38 +05:45
Sawjan Gurung
c59b597984
[tests-only] Run tests with default propfind depth infinity config ( #7334 )
...
* use default config for OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY
* remove unnecessary steps
* use default propfind depth infinity value
* use correct step to check the resources
* use correct step to check the resources
* cover depth:infinity enabled test cases
* fix steps
* fix scenario steps
* update expected failure list
* add depth infinity test suite to ci
* update existing tests only
* remove test with depth:infinity
2023-10-03 09:26:31 +05:45
Nalem7
78f08eb092
adding the path check ( #7007 )
2023-09-13 18:16:28 +05:45
Prajwol Amatya
0aa41d90c1
send X-Request-Id in header of every request ( #7085 )
2023-09-06 16:07:53 +05:45
Nalem7
048d67c712
add api test for search files using tag in project spaces ( #6853 )
2023-08-04 17:29:02 +05:45
Phil Davis
bd634cbcf3
Retry if 409 is received when uploading in a Given step
2023-07-18 16:10:21 +05:45
Niraj Acharya
abb111c3a1
if a requests response is 409 retry upto 10 times
2023-07-18 09:26:36 +05:45
Viktor Scharf
3009ea192f
[test-only] Api test. Checking X-Request-Id in response header ( #6765 )
...
* check X-Request-Id in response header
* style
2023-07-12 09:11:55 +02:00
Sabin Panta
9b4244b086
[tests-only] [full-ci] Refactoring unshare step definition code ( #6608 )
...
* added unshare scenerio
* remove unshare keyword from step definition
* refactoring of step definition codes
* refactor
2023-06-30 12:22:42 +05:45
Amrita
3cdc3bc485
Throw proper ocis-wrapper connection error message ( #6532 )
2023-06-15 16:22:50 +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
Sawjan Gurung
14b11f24a6
[tests-only][full-ci] Change wrapper port from 5000 to 5200 ( #6321 )
...
* use port 5200 for wrapper API server
* remove binary and ignore the build
2023-05-16 15:40:06 +05:45
Prarup Gurung
4b04870ade
[full-ci] [tests-only] unassign app role assignment of user ( #6030 )
...
* Added scenario to unassign the role of user
* Added scenario,admin tries to unassign the own role
* Addressed reviews
* refactor
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com >
2023-05-15 10:45:24 +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