Commit Graph

174 Commits

Author SHA1 Message Date
nabim777
1d0c0e2a6b add test coverage for project-space 2024-06-20 16:45:59 +05:45
Niraj Acharya
dbf94aefdd renaming step for sending invitation with all allowed permission 2024-06-19 14:50:38 +05:45
Niraj Acharya
f0c4bb5a0c adding test for deleting/removing share link of file and folder in project space using root endpoint 2024-06-13 09:42:33 +05:45
Sawjan Gurung
9979165150 Merge pull request #9343 from prashant-gurung899/gherlint-fix-features
[tests-only][full-ci] lint the gherkin feature files
2024-06-12 15:06:24 +05:45
prashant-gurung899
8821017a77 lint the gherkin feature files
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-06-12 10:13:01 +05:45
Roman Perekhod
eb95a2859d fixed the error translation from the statusCodeError type into a corresponding graph api Error representation 2024-06-11 22:42:45 +02:00
Sabin
40661898b9 adding secure view in apisharingNg feature file 2024-06-11 17:39:20 +05:45
Sabin Panta
87a2da7489 adding secure view to list permission for shared space (#9311) 2024-06-06 12:19:29 +05:45
nirajacharya2
a5c6ea6fda adding test for deleting/removing share link of project space using permission endpoint (#9233) 2024-05-30 17:06:46 +05:45
Sabin Panta
80e6ee4a5f [tests-only][full-ci] adding tests for multiple enable disable share (#9256)
* adding tests for multiple enable disable share

* addhressing reviews
2024-05-29 10:36:57 +05:45
Prarup Gurung
f7a59998a6 [full-ci] [tests-only] Add test for disable sync with non-existing resource (#8992)
* Added tests for disabling share sync of non-existent resource

* Added tests for disabling share sync with empty resource id

* Added tests for disabling share sync with not shared resource id

* Changed status code as expected

* Added issue tag
2024-05-28 15:36:09 +05:45
Roman Perekhod
434141d6fb Merge pull request #9197 from 2403905/issue-8876
fix the status code for multiple mount and unmount share
2024-05-23 09:07:27 +02:00
Ralf Haferkamp
72a6ea3cfa fix(graph): Fix tests after Uploader Role changes 2024-05-21 16:48:17 +02:00
Roman Perekhod
8d30bd59f1 fix the status code for multiple mount and unmount share 2024-05-17 15:43:46 +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