Commit Graph

1653 Commits

Author SHA1 Message Date
Niraj Acharya 96c9c16f91 adding test for trying to enable sync with invalid remote item id 2024-04-22 14:38:57 +05:45
Sabin Panta e861512f15 updated php version to 8.2 (#8903) 2024-04-19 15:17:15 +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
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
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
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
nirajacharya2 0272f94373 removing usage of a stepdefination inside another stepdefination in WebDavLockingContext (#8746) 2024-04-04 10:38:37 +05:45
Nalem7 cfd235068d add test for downloading resouces by group user when auto sync is disabled (#8754) 2024-04-04 10:00:29 +05:45
Saw-jan f61faea06c test(api): update expected failure lines 2024-04-03 14:33:27 +05:45
Saw-jan e0364e8bbe test(api): split search user tests 2024-04-03 14:33:14 +05:45
Saw-jan 43abf34be8 test(api): adjust user search tests expectation 2024-04-03 13:06:45 +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
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
Nalem7 16c412f870 add test for downloading resouces by user when auto sync is disabled (#8737) 2024-03-27 15:37:23 +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
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
nirajacharya2 5403f52875 adding test for listing permissions of a project space after the space is shared to a user (#8491) 2024-03-21 14:41:24 +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
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
Prarup Gurung 88ab4369fd Merge pull request #8700 from owncloud/kebab-case-for-table-header-suites-coreApi
[full-ci] [tests-only] Used kebab case for example table header name
2024-03-21 11:39:53 +05:45
Prarup Gurung e666ea998d Fixed expected failures 2024-03-21 10:05:21 +05:45
Prarup Gurung fcba2d34a4 Used kebab case for example table header name 2024-03-21 10:04:25 +05:45
Prarup Gurung ba7d91ebce Used kebab case for example table header name 2024-03-21 09:06:38 +05:45
Christian Richter 35d536f901 Merge pull request #8518 from dragonchaser/cors-issues
[full-ci] adapt cors headers
2024-03-20 14:43:33 +01:00
nirajacharya2 cca9e33e37 adding test for sharing personal space with user (#8511) 2024-03-20 16:40:04 +05:45
Saw-jan 2bc7b842ac test(api): adjust test expectation 2024-03-20 09:47:49 +05:45
Prarup Gurung 10788e3ba4 Added PROPFIND tests for resource having bracket in name 2024-03-20 09:16:32 +05:45
Prarup Gurung 05dc4155c2 Used kebab case for example table header name 2024-03-19 15:44:54 +05:45
Prarup Gurung d79af68968 Added PROPFIND tests as sharee with old davpath 2024-03-19 15:14:52 +05:45
Prarup Gurung b36043488c Added PROPFIND tests as sharee with new davpath 2024-03-19 15:06:25 +05:45