Commit Graph

462 Commits

Author SHA1 Message Date
nirajacharya2
deac05a540 adding test for listing permission of a project space (#8551)
(cherry picked from commit 28d53fee78)
2024-03-12 16:35:44 +01:00
nirajacharya2
021afbff4b adding test for sharedWithMe endpoint for resource in project space (#8292)
(cherry picked from commit fb1d93342c)
2024-03-12 16:35:44 +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
3cea035d6d [tests-only] use new json schema assertion lib that supports latest schema drafts (#8503)
* test(api): use new json schema assertion lib that supports latest schema drafts

* test(api): fix json schema

* test(api): fix method call

* test(api): update expected failure lines

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): make json array validation strict

* test(api): fix php code style

* test(api): update expected failure lines
2024-02-23 16:24:22 +05:45
Viktor Scharf
5a89c3605f [test-only] share items with share permission if resharing is disabled (#8461)
* share item with share permission if resharing is disabled

* php style fix

* change error message
2024-02-21 11:14:58 +01:00
Amrita
c92ebf4b46 [full-ci][tests-only]add tests coverage for removing expiration date from shares (#8490)
* add tests coverage for removing expiration date from share link

* add coverage for folder
2024-02-21 14:54:40 +05:45
Sawjan Gurung
7db5f15625 test(api): add test to try to download public link using basic auth (#8485) 2024-02-19 16:47:19 +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
Sagar Gurung
c3d895445e [tests-only][full-ci]Added tests to lists shared by me after sharee is deleted (#8450)
* Added tests to lists shared by me after sharee is deleted

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

* Refactor tests

* Review address

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

* Review address

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

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-02-16 15:16:29 +05:45
Sawjan Gurung
9e7a9bab9a [tests-only] add API test coverage for file MOVE to space-id as destination (#8459) 2024-02-15 21:26:17 +05:45
Sawjan Gurung
7af7013b3a [tests-only] extend search tests for mediatype filter (#8446)
* test(api): extend search tests for mediatype filter

* test(api): fix php code style

* test(api): fix null argument
2024-02-15 14:02:59 +05:45
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
Nalem7
a5d7c292db skip spacecontext subsitutions for reva (#8422) 2024-02-09 18:47:37 +05:45
Sabin Panta
5f57740976 [tests-only][full-ci]resourcetype variable deleted from testcode (#8370)
* resourcetype variable deleted from testcode

* updated expected failures file

* addressing review
2024-02-09 14:02:38 +05:45
nirajacharya2
d87f5b0316 adding test for updating role of a share (#8329) 2024-02-08 14:52:22 +05:45
Sawjan Gurung
571af9ecce [tests-only] add API test coverage for issue-8242 (#8295)
* add test coverage for issue-8242

* add test coverage for issue-8242
2024-02-07 13:38:43 +01:00
Prarup Gurung
f7eb4db082 Addressed reviews 2024-02-06 14:36:58 +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
Sawjan Gurung
704b372205 [tests-only] extend share invite json response assertion (#8348)
* rename %eTag% to %etag_pattern% for clarity

* check more response properties
2024-02-05 11:43:19 +05:45
nirajacharya2
4bea4357a9 Added test for sharingNg for endpoint sharedByMe (#8311)
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

Added tests for list shared by me

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

adding test for updating permission of a share

Co-authored-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-02-02 17:50:41 +05:45
Prajwol Amatya
d05a5b4334 remove tests related to resharing (#8338) 2024-02-01 16:41:31 +05:45
Sawjan Gurung
94a7f189e0 rename list shares step (#8337) 2024-02-01 16:40:29 +05:45
Prarup Gurung
ba6b4ad269 Addressed reviews 2024-02-01 14:43:05 +05:45
Prarup Gurung
743364403b Added test to send share invitation with user for deleted file 2024-02-01 14:43:04 +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
Prajwol Amatya
95b6190ff0 [tests-only][full-ci] added test to share a disabled project space (#8319)
* added test to share a disabled project space

* added test to share deleted project space
2024-01-31 16:26:29 +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
Prarup Gurung
b8d1a278c6 Added test for sending share invitation with wrong sharetype 2024-01-26 09:49: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
Prarup Gurung
2675e739b2 Added test for sending share invitation to wrong objectId 2024-01-25 14:13:46 +05:45
Nalem7
18a62b5133 replacing the featureContext with HttpREquestHelper in test (#8169)
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-01-25 14:06:45 +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
Prajwol Amatya
3b75b5b722 added test to reshare resources to other users SharingNg (#8275) 2024-01-24 15:45:35 +05:45
Prajwol Amatya
2d203775a9 added test to send share invitation to unknown group (#8175) 2024-01-24 12:13:54 +05:45
Sabin Panta
be8973def1 [tests-only][full-ci] adding user quota using graph api instead of Provisioning api (#7000)
* refactored getQuota scenario

* deleted quota step inside provisioning file

* updating feature file of quota as per graphapi

* updated expected failures file

* updated expected failures file

* removed issue tag
2024-01-24 10:12:42 +05:45
Michael Barz
17b14ee786 Merge pull request #8264 from owncloud/dragonchaser/bump-reva
[full-ci] Continuation of Dragonchaser/bump reva
2024-01-23 09:57:53 +01:00
Saw-jan
a7ab682f17 fix php code 2024-01-23 12:42:47 +05:45
Saw-jan
e1101940dc fix cors tests 2024-01-23 12:40:13 +05:45
Prarup Gurung
0312e72bd2 Addressed reviews 2024-01-23 11:07:51 +05:45
Prarup Gurung
f08a9ae0d9 Added test for sending share invitation to normal user 2024-01-23 11:07:51 +05:45
Sawjan Gurung
cb0090e840 extend test coverage for replacing file with zero-byte file (tus upload) (#8105) 2024-01-22 20:01:10 +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
Swikriti Tripathi
f1327cc74d Add tests for remove permissions link share (#8190)
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2024-01-12 16:04:10 +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
Prarup Gurung
c3716d1039 Added test for sending share invitation to deleted user 2024-01-11 16:25:27 +05:45
Prarup Gurung
d69a916c12 Added test for sending share invitation to disabled user (#8174) 2024-01-11 11:31:55 +05:45