Commit Graph

137 Commits

Author SHA1 Message Date
Saw-jan
f976386ee2 test: fix tests and issue tags
test: fix properties namespace
2024-08-02 09:31:26 +05:45
Saw-jan
d8c74a30a2 test: update tests related to issue-1124
test: fix tests and issue tags
2024-08-01 16:50:47 +05:45
Viktor Scharf
eac8fb8649 unhide share 2024-07-29 11:43:05 +02:00
Salipa-Gurung
065c4fa027 add test coverage for activities api for a file 2024-07-25 14:51:18 +05:45
Saw-jan
5fabf09451 test: fix MOVE within Shares tests 2024-07-24 11:35:45 +05:45
pradip
7b8b4faf05 test: add test coverage for roleMangement endpoints 2024-07-23 12:46:16 +05:45
Viktor Scharf
1b8b911b63 list Invitation 2024-07-15 12:24:59 +02:00
Viktor Scharf
2fc47576ca Merge pull request #9566 from owncloud/findAcceptedUser
[test-only] Find accepted user
2024-07-10 10:36:49 +02:00
Viktor Scharf
cac97c6067 find accepted users 2024-07-09 14:47:16 +02:00
Saw-jan
13b428ecae refactor: remove stdins from the command logs 2024-07-09 11:48:03 +05:45
Saw-jan
fd6e773b7e test: prepare cli test suite 2024-07-09 11:48:03 +05:45
Viktor Scharf
97bce8edd4 more ocm tests 2024-07-08 07:59:52 +02:00
Saw-jan
a8ee23734c test: add settings helper
test: move methods to helper
2024-07-08 09:44:48 +05:45
Viktor Scharf
3cfe0f932e first api test for ocm 2024-06-21 08:53:21 +02:00
Prarup Gurung
a0a3447a00 Used expirationDateTime key for graph api (#9278) 2024-05-30 12:51:05 +05:45
André Duffeck
dfd959f468 Allow the posix storage driver in the tests 2024-05-16 10:35:08 +02:00
Amrita
6a005aedd4 add tests for setting pasword-on-share-link (#9078) 2024-05-10 15:46:57 +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
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
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
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
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
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
Sabin Panta
15d6a854dc changed wording of mount unmount to enable and disable sync (#8786) 2024-04-10 12:53:19 +05:45
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
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
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
nirajacharya2
d87f5b0316 adding test for updating role of a share (#8329) 2024-02-08 14:52:22 +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
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
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
Viktor Scharf
ee6f155e1c add more CORS tests (#8254) 2024-01-24 19:25:20 +01:00
Prarup Gurung
f08a9ae0d9 Added test for sending share invitation to normal user 2024-01-23 11:07:51 +05:45
nirajacharya2
448916a9dd [tests-only][full-ci] forward port user and group search tests (#8240)
* fixing json assertion for addUserToGroup.feature

* adding tests for searching groups as a normal user

* adding tests for searching user as a normal user

* fixing json assertion for removeUserFromGroup.feature

* fixing json assertion for listPermissions.feature
2024-01-18 15:14:10 +05:45
Nalem7
d14935ad78 [tests-only][full-ci] Restructure the steps implementation for group delete to use graph API endpoint (#8006)
* remove ocs endpoint from delete group

* remove adminHasDeletedGroupUsingTheGraphApi

* adressing reviews
2024-01-17 15:42:31 +05:45
Prajwol Amatya
2424525a58 added test to send share invitation to multiple groups at once (#8167) 2024-01-15 11:53:08 +05:45
Sawjan Gurung
ff10d011e0 [tests-only] Added test coverage for checking file versions after MOVE (#8183)
* add test coverage for checking file versions after MOVE

* fix php style

* address reviews
2024-01-12 10:34:44 +01:00
Swikriti Tripathi
3976c1c1fc [tests-only] tests: add tests for removing share permission (#8130)
* tests: add tests for removing share permission

* tests: add tests for removing share permission in group share

* tests: refactor test script for removing permission from share

* address reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2024-01-11 11:31:28 +05:45
Viktor Scharf
ec37788829 change naming in test (#8140) 2024-01-08 23:41:31 +01:00
Sagar Gurung
c46db2b7cb [tests-only][full-ci]Added tests for setting password in a public share link (#8079)
* Added tests for set/update for password for public link

* Added assertion step for password update

* Rebase and refactor setPassword step

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

* Review Address

* Review Address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-05 13:57:59 +05:45
Sagar Gurung
6e9b599195 [tests-only][full-ci]Added test to update role and expiration date for share link (v1beta1) (#8071)
* Added test to update role and expiration date for share link

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

* Review address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-02 16:53:47 +05:45
Prarup Gurung
095578b717 [full-ci] [tests-only] Forward port of PR #8092 (#8095)
* Added test for sending share invitation to user with expiration

* Added test for sending share invitation to group with expiration
2024-01-01 17:19:15 +05:45
Prarup Gurung
e7cf24e486 Added test for sending share invitation to user with permissions 2023-12-28 08:21:00 +05:45
Sagar Gurung
65b8c1a767 [tests-only][full-ci]Added tests for creating link for a resource (#7982)
* Added tests for creating link for a resource

* review adress and refactor
2023-12-20 17:01:02 +05:45
Prarup Gurung
8f0818ebc1 Fixed php style 2023-12-20 09:33:43 +05:45