Commit Graph

518 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
Amrita
545624f1be add tests for update share invitation for root endpoint (#8906) 2024-05-08 09:55:48 +05:45
Prarup Gurung
f36fc13cba copySpaces.feature: Used sharingNG for sharing in given step 2024-05-07 16:27:11 +05:45
Sabin Panta
571689aad8 [tests-only] [full-ci] updating given step for sharing in unlockFiles (#9063)
* updating given step for sharing

* addressing review
2024-05-07 16:12:17 +05:45
nirajacharya2
3e88b2cc25 removing usage of a stepdefination inside another stepdefination in NotificationContext.php (#9022) 2024-05-06 15:22:20 +05:45
nirajacharya2
3f85870bba removing usage of a stepdefination inside another stepdefination in FilesVersionsContext.php (#9053) 2024-05-06 11:49:15 +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
Prarup Gurung
6cd4fffc83 search.feature: Used sharingNG for sharing in given step 2024-05-06 09:51:42 +05:45
nirajacharya2
33eb024302 removing usage of a stepdefination inside another stepdefination in GraphContext.php (#9026) 2024-05-06 09:36:35 +05:45
Prarup Gurung
68f03f2f5e Addressed reviews 2024-05-03 09:52:29 +05:45
Prarup Gurung
7423fa3a4b Use sharingNG for sharing in given step, refactored accordingly 2024-05-03 09:52:29 +05:45
Sabin Panta
db281c4257 changing given step of creating link share in feature file (#9019) 2024-05-03 09:36:14 +05:45
nirajacharya2
9db4c51572 removing usage of a stepdefination inside another stepdefination in Provisioning (#8892) 2024-05-02 15:36:03 +05:45
nirajacharya2
8ab24595b1 removing usage of a stepdefination inside another stepdefination in OcisConfigContext.php (#9021) 2024-05-02 14:40:41 +05:45
Sawjan Gurung
5c7c363e2b [tests-only] add API tests for file download and rename edge cases (#9018)
* test: add API tests to download deleted file

* test: add more MOVE/rename API tests

* do not reuse step def method

* remove unused step

* fix typo

* fix tests

* update expected failure

* update expected failure
2024-05-02 12:21:35 +05:45
Sabin Panta
8b9d5da7ec [tests-only][full-ci] changed given statement of sharing link in api antivirus feature file (#8914)
* changed given statement of sharing link in api antivirus feature file

* updated scenerio of uploading virus inside public share

* added step defnitin for uploading file via public link
2024-04-30 12:26:21 +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
Phil Davis
86b931f176 tests: code review of acceptance tests 2024-04-29 13:47:08 +05:45
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
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
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
Prarup Gurung
d0dd6c8d85 Merge pull request #8875 from owncloud/issue-8724-coverage
[tests-only][full-ci] adding test for enabling sync of non-existent resource
2024-04-22 17:03:02 +05:45
Viktor Scharf
13ee2d93aa delete php string deprication (#8911) 2024-04-22 11:20:00 +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
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
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
nirajacharya2
0272f94373 removing usage of a stepdefination inside another stepdefination in WebDavLockingContext (#8746) 2024-04-04 10:38:37 +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
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
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
Prarup Gurung
b36043488c Added PROPFIND tests as sharee with new davpath 2024-03-19 15:06:25 +05:45
Prarup Gurung
c3eab89e2f Merge pull request #8622 from owncloud/add-test-for-propfind
[full-ci] [tests-only] Added tests for PROPFIND as sharee
2024-03-18 09:20:06 +05:45