Commit Graph

1600 Commits

Author SHA1 Message Date
Amrita
738a268ab3 add tests for create link on project spaces resources (#9044) 2024-05-06 11:57:36 +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
Prarup Gurung
1f114d66a6 dateSearch.feature: Used sharingNG for sharing in given step 2024-05-06 09:51:41 +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
0ee17d7e26 Merge pull request #9040 from owncloud/use-sharingNG-in-given-steps-apiGraph-suite
[full-ci] [tests-only] Use sharingNG for sharing in given step, refactored accordingly
2024-05-03 17:02:51 +05:45
Salipa-Gurung
2a4b56b6b8 use sharingNG in given step for sharing in sharesReport 2024-05-03 12:02:00 +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
Sabin Panta
5e449f8a67 changing given step of creating share in feature file (#9023) 2024-05-02 14:52:18 +05:45
nirajacharya2
8ab24595b1 removing usage of a stepdefination inside another stepdefination in OcisConfigContext.php (#9021) 2024-05-02 14:40:41 +05:45
Salipa Gurung
70e2c75831 change given step for sharing space in apiDownloads (#9027) 2024-05-02 14:38:50 +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
Prarup Gurung
77a87e5d10 Merge pull request #9017 from owncloud/changing-given-statement-to-graph-api
[tests-only][full-ci]change given step from ocs to graph
2024-04-30 17:01:05 +05:45
Prarup Gurung
a3579eed99 [full-ci] [tests-only] Use sharingNG for sharing in given step (#9016)
* Use sharingNG for sharing in given step

* Removed from expected failures
2024-04-30 16:28:48 +05:45
Sabin Panta
6ac17a9155 updating antivirus feature file (#9024) 2024-04-30 16:28:23 +05:45
Sawjan Gurung
bf1d18951e test: add API tests to search user/group with special chars (#9015) 2024-04-30 13:12:09 +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
Sabin
070cccf609 change given step from ocs to graph 2024-04-30 12:32:41 +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
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
Phil Davis
6aff09530e Merge pull request #8982 from owncloud/acceptance-test-code-review
[tests-only] code review of acceptance tests
2024-04-29 14:39:28 +05:45
Salipa Gurung
6696d5c226 change given step using SharingNG for share in downloadBypath file (#8990) 2024-04-29 14:28:01 +05:45
Phil Davis
86b931f176 tests: code review of acceptance tests 2024-04-29 13:47:08 +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
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
Thomas Müller
bdbba929d0 feat: add CSP and other security related headers in the oCIS proxy service (#8777)
* feat: add CSP and other security related headers in the oCIS proxy service

* fix: consolidate security related headers - drop middleware.Secure

* fix: use github.com/DeepDiver1975/secure

* fix: acceptance tests

* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
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
Salipa Gurung
f26de59b3a change given step using SharingNG for share (#8965) 2024-04-25 18:46:05 +05:45
Prajwol Amatya
5acba455dc added test for group user downloading shared resource inside project space when auto sync is disabled (#8945) 2024-04-25 18:43:11 +05:45
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
Prajwol Amatya
78ba483784 added test for sharee downloading resource inside project space when auto sync is disabled (#8944) 2024-04-24 16:25:13 +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
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
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