Ralf Haferkamp
72a6ea3cfa
fix(graph): Fix tests after Uploader Role changes
2024-05-21 16:48:17 +02:00
Sawjan Gurung
590a40d979
[tests-only] add file/folder creation and list sharedByMe of link shares ( #9150 )
...
* test: add more edge-case tests for file/folder creation
* test: add list sharedByMe tests for link shares
* test: fix tests
* test: list sharedByMe of drive link share
* test: add issue tag
* test: split scenario
2024-05-17 14:19:53 +05:45
Prajwol Amatya
52e7ae9fcb
[tests-only][full-ci] divide shareNg test suite into multiple parts ( #9158 )
...
* divide shareNg test suite into 2 parts
* update directory name in expected failure file
* separate apisharingNg suite
* separate shareNg test suite to 3 parts
* remove unused context files from test suites
2024-05-16 12:36:09 +05:45
Sabin Panta
95c93f63b7
[tests-only][full-ci]adding tests for enable disable sync when sharer is deleted ( #9130 )
...
* adding tests for enable disable sync when sharer is deleted
* addhressing reviews
2024-05-15 12:58:22 +05:45
Amrita
0ac03d8a89
extend list permission tests coverage for root endpoint ( #9125 )
2024-05-15 10:51:55 +05:45
Prarup Gurung
0bf53eb0ba
Adjusted the json schema
2024-05-14 16:24:26 +05:45
Amrita
00ed2ce58c
add tests for removing share link ( #9123 )
2024-05-10 16:28:58 +05:45
Amrita
6a005aedd4
add tests for setting pasword-on-share-link ( #9078 )
2024-05-10 15:46:57 +05:45
Amrita
71ca659ee8
add create share link using root endpoint ( #9076 )
2024-05-10 12:17:15 +05:45
Sawjan Gurung
abb537f08f
[tests-only] separate different SharingNG share steps ( #9097 )
...
* separate When steps using root and permissions endpoints
test: separate resource sharing GIven step from space share
test: share space via root endpoint in Given steps
test: use existing step
test: fix more steps
* test: separate resource and space link share creation
test: fix php code style
2024-05-08 14:22:52 +05:45
Amrita
545624f1be
add tests for update share invitation for root endpoint ( #8906 )
2024-05-08 09:55:48 +05:45
Sawjan Gurung
b4e991bf63
[tests-only] extend group sharing and MOVE api tests ( #9083 )
...
* test: add more COPY/MOVE tests
* test: add sharing to group edgecase tests
* test: new line
* test: fix typo
* test: update expected failure
2024-05-07 12:26:59 +05:45
Amrita
738a268ab3
add tests for create link on project spaces resources ( #9044 )
2024-05-06 11:57:36 +05:45
Sagar Gurung
e8cc3c26ab
[tests-only][full-ci]Added test for hide shared resources (personal and project space) in shares ( #8999 )
...
* Added test for hide shared resources in shares
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
* review address
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
* review address: refactor feature file
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
---------
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
2024-05-06 11:17:35 +05:45
Sawjan Gurung
c0f92f85f3
[tests-only] extend list sharedwithme API tests coverage ( #8967 )
...
* test: extend list sharedwithme tests
* test: organize scenarios
* test: extend list sharedwithme tests - same name shares
* refactor json schema
2024-04-30 12:50:03 +05:45
nirajacharya2
34b13f96e8
adding test for listing permission of a project drive by a member with viewer permission ( #8910 ) ( #8932 )
2024-04-30 12:11:23 +05:45
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
Jannik Stehle
1aeb30193a
feat: add secure view share role
...
Adds a new share role "Secure View". This role is applicable for files, folders and spaces and only allows viewing them (and their content).
2024-04-29 09:42:31 +02:00
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
nirajacharya2
ec7938946e
adding tests for sharing a folder inside project space with all allowed roles from list permissions response ( #8940 )
2024-04-29 09:35:06 +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
Sawjan Gurung
e09f94f2cc
[tests-only] extend list sharedbyme API tests coverage ( #8964 )
...
* test: extend list sharedwithme tests
* test: organize scenarios
* test: organize scenarios
2024-04-25 17:40:01 +05:45
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
nirajacharya2
c2ab6666a5
adding tests for sharing a file inside project space with all allowed roles from list permissions response ( #8933 )
2024-04-24 09:58:07 +05:45
Viktor Scharf
1acd7bbf7e
remove members from space. more tests ( #8920 )
2024-04-23 08:29:34 +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
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
nirajacharya2
b0a7f744c5
adding test for listing filae and folder permissions in personal and project space ( #8476 )
2024-04-16 18:22:03 +05:45
Jannik Stehle
458f32b409
[full-ci] chore: bump web to v9.0.0-alpha.5 ( #8868 )
...
* chore: bump web to v9.0.0-alpha.5
* try to fix sharedWithMe test
---------
Co-authored-by: Viktor Scharf <scharf.vi@gmail.com >
2024-04-16 11:54:03 +02:00
Roman Perekhod
cd539311a5
fix unmount item from share
2024-04-15 14:43:13 +02:00
Sabin Panta
d13088c909
added test for enable disable share shared by project space to group ( #8796 )
2024-04-15 09:29:23 +05:45
Ralf Haferkamp
9ca9b78b2b
fix(sharing-ng): Adapt role conditions to match resource types
...
This switches our hardcode unfied role conditions to better reflect what
we're actually using them before. The new conditions also allow to differentiate
between roles elgitible for files, folders or drive roots.
Which means that the `/permissions` endpoint is now able to populate the
`roles.allowedValues` field with the correct roles for type of the resource
it is called for.
Fixes : #8331
2024-04-12 10:09:13 +02:00
Sabin Panta
7b82c30cd9
adding test for enable and disable share resource from project folder ( #8789 )
2024-04-11 15:36:47 +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
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
Prajwol Amatya
5d06d5dce5
added test to check id from shareWithMe and PROPFIND response ( #8767 )
2024-04-05 09:06:04 +05:45
Ralf Haferkamp
c6d28caa31
refactor(graph): move "Invite" to new drive item permissions service
...
This introduces the new DriveItemPermissionsService and DriveItemPermissionsApi to
allow for better separation of the business logic and the API handling.
As a starting point the Invite method was moved to the new service. More to follow.
2024-04-04 16:17:59 +02:00
Jannik Stehle
035b34dff5
Merge pull request #8743 from owncloud/adjust-sharing-ng-role-names
...
refactor: adjust sharing ng role names and descriptions
2024-03-27 18:09:42 +01:00
Jannik Stehle
66b29dcf5b
test: fix acceptance tests after adjusting share roles
2024-03-27 11:12:17 +01:00
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
nirajacharya2
208b25c7ed
adding tests for sending a share invitation to a user on virtual drive ( #8705 )
2024-03-22 17:28:46 +05:45