Commit Graph

28 Commits

Author SHA1 Message Date
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
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
Amrita
da656cb8f7 add tests for list permissions using root endpoint (#8824) 2024-04-18 15:17:51 +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
Sagar Gurung
ec8a4a044b [tests-only][full-ci] check same name resources shared by different users (#8630)
* list resources and check resource name with same name shared from different users

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

* PR address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-03-21 12:05:20 +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
nirajacharya2
3b79c1c40a adding test for deleating sharer and listing sharedwithme by the sharee (#8520) 2024-03-04 13:07:06 +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
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
Saw-jan
497bffba1c test(api): make json scheme strict 2024-02-21 16:10:56 +05:45
Saw-jan
0b0ae60d9d test(api): make json scheme strict 2024-02-21 16:10:55 +05:45
Prarup Gurung
80c980f1a9 Strict check for json schema 2024-02-20 12:51:17 +05:45
Prarup Gurung
a94fffd84c Added tests to lists folder with same name shared by two users 2024-02-20 12:09:50 +05:45
Prarup Gurung
58862d7231 Added tests to lists file with same name shared by two users 2024-02-20 12:09:50 +05:45
nirajacharya2
faa8bdbc95 adding tests for shareWithMe endpoint when resource is shared with a group (#8388) 2024-02-15 12:10:52 +05:45
Nalem7
4fc734fc24 move auto-sync-disable related feature file in separate file (#8443) 2024-02-13 16:28:56 +05:45
nirajacharya2
59b6232260 adding test for sharing with user and group (#8346) 2024-02-08 10:12:41 +05:45
Prarup Gurung
c4a5f6a276 Added tests to lists folder shared with group when sync is disabled 2024-02-06 15:39:55 +05:45
Prarup Gurung
8340567db5 Added tests to lists file shared with group when sync is disabled 2024-02-06 15:39:55 +05:45
Prarup Gurung
f7eb4db082 Addressed reviews 2024-02-06 14:36:58 +05:45
Prarup Gurung
9bb711acb9 Added tests to lists folder shared with them when sync is disabled 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
Ralf Haferkamp
ac5fe2d1a4 Adapted expected JSON schema in acceptance test for recent changes 2024-02-01 15:38:55 +01:00
Sawjan Gurung
94a7f189e0 rename list shares step (#8337) 2024-02-01 16:40:29 +05:45
nirajacharya2
a01475c41f using graph api to share in share with me test (#8323) 2024-01-31 14:05:35 +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