Commit Graph

445 Commits

Author SHA1 Message Date
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
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
Prajwol Amatya d2635cc4df added test to send share invitation to a deleted group (#8166) 2024-01-10 13:56:02 +01:00
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
Sawjan Gurung f779ee63c3 [tests-only] Extend API test coverage for MOVE between spaces using file-id (#8126)
* add issue tags

* extend API test coverage for MOVE between spaces using file-id

* fix table header

* re-arrange scenarios

* update expected failure

* update expected failure
2024-01-04 18:00:04 +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 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
Prarup Gurung 1b0e499b9b Added test for sending share invitation to group with role (#8009) 2023-12-21 10:37:58 +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
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
Nalem7 8ce0417d4d remove ocs endpoint (#7864) 2023-12-19 14:25:56 +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 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