Commit Graph

502 Commits

Author SHA1 Message Date
Sagar Gurung
f962cbba09 Extend ShareNg test for updating share permission for project space (#8913)
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-04-30 09:19:45 +05:45
Viktor Scharf
836fcc5433 user deletes own access of the space (#8986) 2024-04-29 11:59:08 +02:00
Phil Davis
86b931f176 tests: code review of acceptance tests 2024-04-29 13:47:08 +05:45
Prarup Gurung
7bb178bb1f Added tests for enabling share sync with not shared resource id (#8991) 2024-04-29 12:58:31 +05:45
Sagar Gurung
3a553aebcb [tests-only][full-ci] List permission and share a project space with allowed roles (#8959)
* List permission and share a project space with allowed roles

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

* Review addres

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

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-04-29 12:54:51 +05:45
Prarup Gurung
f7fb0bc591 [full-ci] [tests-only] Added tests for enabling share sync with empty resource id (#8963)
* Added tests for enabling share sync with empty resource id

* Addressed reviews
2024-04-26 14:20:59 +05:45
Amrita
edd3ac2ad0 [tests-only][full-ci]Add tests for share invite on drives root (#8850)
* add tests for root share invite

* add more tests scenarios
2024-04-26 08:41:26 +02:00
nirajacharya2
baaf63015e adding test for listing permission of a project drive by a member with viewer permission (#8910) 2024-04-25 12:26:07 +05:45
nirajacharya2
30cb3729d4 adding test for listing permission of project space by a user who is not a member of the space (#8927) 2024-04-24 18:07:31 +05:45
Prarup Gurung
d0dd6c8d85 Merge pull request #8875 from owncloud/issue-8724-coverage
[tests-only][full-ci] adding test for enabling sync of non-existent resource
2024-04-22 17:03:02 +05:45
Viktor Scharf
13ee2d93aa delete php string deprication (#8911) 2024-04-22 11:20:00 +02:00
Niraj Acharya
96c9c16f91 adding test for trying to enable sync with invalid remote item id 2024-04-22 14:38:57 +05:45
Sawjan Gurung
2f32fa3e36 [tests-only] do not try to delete already deleted groups (#8886)
* fix(test): do not try to delete already deleted groups

* test: remove redundant steps

* test: fix php code style

* fix typo
2024-04-18 17:28:38 +05:45
Viktor Scharf
2e8708816f remove access to drive tests (#8879) 2024-04-18 11:46:19 +02:00
Amrita
da656cb8f7 add tests for list permissions using root endpoint (#8824) 2024-04-18 15:17:51 +05:45
nirajacharya2
ed79f3e012 removing usage of a stepdefination inside another stepdefination in PublicWebDavContext (#8813) 2024-04-17 17:17:44 +05:45
nirajacharya2
8556318809 removing usage of a stepdefination inside another stepdefination in WebDavPropertiesContext (#8745) 2024-04-17 16:50:33 +05:45
Viktor Scharf
b51ba47e01 check email in the search sharee request (#8861) 2024-04-17 11:42:09 +02:00
Sagar Gurung
0972b7cc12 [tests-only][full-ci]Added tests for sharing with all allowed roles for the list permissions (#8477)
* Added tests for sharing with all allowed roles for the list permissions

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

* Refactor code

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

* Rebase and refactor code

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

* Review address

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

* Rebase code

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

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-04-17 12:00:52 +05:45
Viktor Scharf
81bf10b577 [test-only] remove user/group from space (#8826)
* remove user/grop from space

* fix after review
2024-04-11 09:20:00 +02:00
nirajacharya2
e253ad0a29 removing usage of a stepdefination inside another stepdefination in TagContext (#8758) 2024-04-11 09:56:41 +05:45
nirajacharya2
cb8109dc8f removing usage of a stepdefination inside another stepdefination in TrashbinContext (#8755) 2024-04-11 09:56:27 +05:45
Sabin Panta
15d6a854dc changed wording of mount unmount to enable and disable sync (#8786) 2024-04-10 12:53:19 +05:45
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