Commit Graph

479 Commits

Author SHA1 Message Date
Sabin Panta
d7ad04c549 [tests-only][full-ci]adding scenerio for enable and disable sync feature in group share (#8734)
* adding scenerio for mount unmount feature in group share

* addressing review
2024-04-05 12:20:09 +05:45
nirajacharya2
8f290ce2ea removing usage of a stepdefination inside another stepdefination in TUSContext (#8753) 2024-04-05 11:31:46 +05:45
Prajwol Amatya
5d06d5dce5 added test to check id from shareWithMe and PROPFIND response (#8767) 2024-04-05 09:06:04 +05:45
nirajacharya2
0272f94373 removing usage of a stepdefination inside another stepdefination in WebDavLockingContext (#8746) 2024-04-04 10:38:37 +05:45
Viktor Scharf
65b48d3460 [test-only] update share without permission (#8748)
* update share without permission

* Update resharing.feature

* Update resharing.feature
2024-03-28 10:15:13 +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
Sawjan Gurung
11986e36bb [tests-only] add API test to check cors headers with OPTIONS request to tus upload endpoint (#8646)
* test(api): check cors headers with OPTIONS request to tus upload endpoint

* test(api): fix class name

* fix table header name
2024-03-25 15:37:35 +05:45
nirajacharya2
208b25c7ed adding tests for sending a share invitation to a user on virtual drive (#8705) 2024-03-22 17:28:46 +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
Prarup Gurung
b36043488c Added PROPFIND tests as sharee with new davpath 2024-03-19 15:06:25 +05:45
Prarup Gurung
c3eab89e2f Merge pull request #8622 from owncloud/add-test-for-propfind
[full-ci] [tests-only] Added tests for PROPFIND as sharee
2024-03-18 09:20:06 +05:45
Prarup Gurung
c52c3e9db7 Addressed reviews 2024-03-15 14:18:33 +05:45
Prarup Gurung
18f156c880 Separated step implementation 2024-03-14 11:57:23 +05:45
Sagar Gurung
dc98e7a6b9 [tests-only][full-ci]Refactor check for no of items in json schema (#8632)
* Refactor check for no of items in json schema

* test(api): fix json schema

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2024-03-13 16:54:40 +05:45
Prarup Gurung
d48ea766ea Refactored step to use depth for propfind 2024-03-13 15:00:47 +05:45
Prarup Gurung
bc2410900a Added tests for PROPFIND as sharee 2024-03-12 15:45:33 +05:45
nirajacharya2
28d53fee78 adding test for listing permission of a project space (#8551) 2024-03-04 16:54:01 +05:45
nirajacharya2
fb1d93342c adding test for sharedWithMe endpoint for resource in project space (#8292) 2024-03-01 15:36:51 +05:45
Sawjan Gurung
9b8ec4e5e6 [tests-only] check for invalid schema validators (#8533)
* test(api): check schema validators

* test(api): check schema validators

* test(api): check schema validators

* test(api): fix schema

* test(api): fix php code style

* test(api): fix schema
2024-02-28 16:56:03 +05:45
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