Commit Graph

1428 Commits

Author SHA1 Message Date
prajwol
3b48dfd8bd added test to send share invitation to multiple groups at once 2024-01-15 12:45:46 +05:45
Swikriti Tripathi
9224b46c05 Add tests for remove permissions link share (#8128)
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2024-01-12 14:42:38 +05:45
Prarup Gurung
e0d3add500 [full-ci] [tests-only] Backport of pr 8179, 8166 (#8110)
* added test to send share invitation to a deleted group

* Added test for sending share invitation to deleted user

* Added to expected failure

---------

Co-authored-by: prajwol <prajwolamatya11@gmail.com>
2024-01-12 12:50:05 +05:45
nirajacharya2
9ac7d0cd24 adding test for getting versions of a file after moving it (#8172) 2024-01-12 12:47:49 +05:45
Prarup Gurung
72fa0cd1c8 Added test for sending share invitation to disabled user 2024-01-11 09:56:53 +05:45
Benedikt Kulmann
977ba18c12 Merge pull request #8154 from owncloud/bump-web-v8.0.0-rc.2 2024-01-10 14:27:31 +01:00
Jannik Stehle
7a65552440 ci: adjust expected acceptance test failures 2024-01-10 13:21:15 +01:00
Swikriti Tripathi
c80a4b1f2c change naming in test (#8159)
Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2024-01-09 18:24:50 +05:45
Swikriti Tripathi
954a1c04a0 [tests-only] tests: refactor test script for removing permission from share (#8134)
* tests: refactor test script for removing permission from share

* address reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2024-01-09 13:56:32 +05:45
Prarup Gurung
c3f755437a Merge pull request #8148 from owncloud/json-fix-listPermissions.feature
[tests-only][full-ci] fixing json assertion in file listPpermissions.feature
2024-01-09 12:08:26 +05:45
nirajacharya2
94407c6e0b fixing json assertion for removeUserFromGroup.feature (#8146) 2024-01-08 14:03:09 +05:45
nirajacharya2
ca68005353 fixing json assertion for addUserToGroup.feature (#8145) 2024-01-08 14:02:46 +05:45
Niraj Acharya
04c696cf84 fixing json assertion for listPermissions.feature 2024-01-08 11:48:09 +05:45
Sagar Gurung
85d4598907 [tests-only][full-ci]Added tests for setting password in a public share (#8079) (#8138)
* 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

* Fix style

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-08 10:43:54 +05:45
Swikriti Tripathi
2b78753a12 [tests-only]tests: add tests for removing share permission in group share (#8099)
* tests: add tests for removing share permission in group share

* tests: address reviews
2024-01-04 17:03:39 +05:45
Swikriti Tripathi
672a38bf98 [tests-only]tests: add tests for removing share permission (#8098)
* tests: add tests for removing share permission

* tests: add cases for project space share

* tests: update test step to use the sharingNg invite endpoint

* tests: address reviews

* tests: address reviews
2024-01-04 12:28:07 +05:45
Prarup Gurung
7eeb61bcb7 Merge pull request #8093 from owncloud/replace-file-with-empty-content
[tests-only][full-ci] added issue tag `@issue-7257` on added scenarios
2024-01-03 09:17:47 +05:45
Sagar Gurung
07a0743807 [tests-only][full-ci]Added test to update role and expiration date for share link (v1beta1) (#8071) (#8103)
* Added test to update role and expiration date for share link



* Review address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-02 17:45:53 +05:45
prajwol
30fd043d3f added issue-7257 tag on scenario 2024-01-02 16:53:46 +05:45
Prajwol Amatya
343ac05294 added test to update file with empty content (#8088) 2024-01-02 10:06:18 +05:45
Prarup Gurung
9516ae7f29 Added test for sending share invitation to group with expiration 2024-01-01 14:47:30 +05:45
Prarup Gurung
82be964ec1 Added test for sending share invitation to user with expiration 2024-01-01 14:46:20 +05:45
Prarup Gurung
a3f481f3a0 [full-ci] [tests-only] Backport PR 8046, 8047 (#8078)
* Added test for sending share invitation to user with permissions

* Added test for sending share invitation to group with permissions
2023-12-28 12:12:28 +05:45
Sagar Gurung
88aa44a768 [tests-only][full-ci]Added tests for create link share without password (#8040)
* Added tests for create link share without password

* fix CI failure
2023-12-22 16:28:47 +05:45
Sagar Gurung
e76f2eaf8c [tests-only][full-ci]Added tests for the expirydate with displaName for share link (#8036)
* Added tests for the expirydata with displaName for share link

* review address
2023-12-21 14:09:57 +05:45
Prarup Gurung
1b0e499b9b Added test for sending share invitation to group with role (#8009) 2023-12-21 10:37:58 +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
Viktor Scharf
4e6bdc1688 apiTest. set recipient type in body 2023-12-19 23:28:52 +01:00
Prarup Gurung
87d3762381 Added test for sending share invitation to user with role 2023-12-19 16:57:09 +05:45
Nalem7
8ce0417d4d remove ocs endpoint (#7864) 2023-12-19 14:25:56 +05:45
Sawjan Gurung
f479c29055 close channel after log scanner has completed (#7997) 2023-12-18 11:16:55 +01:00
Viktor Scharf
2953258792 ApiTest. check userType in response (#7992) 2023-12-18 08:53:05 +01:00
Swikriti Tripathi
1e942454a7 tests: skip tests on reva (#7955) 2023-12-14 21:48:50 +05:45
nirajacharya2
03143361d9 [tests-only][full-ci] Added API tests to check file versions of a file inside a shared space (#7969)
* adding test for file version of a share in a projectspace

* adding test for listing file version of a file inside project space
2023-12-14 14:51:50 +01:00
Roman Perekhod
2745669feb fixed the issue that led to correct update but the 404 response code when renaming an existing user to a string with capital letters 2023-12-14 12:10:37 +01:00
kobergj
7c3f51a7dd Merge pull request #7793 from kobergj/FixNatsjsCache
[full-ci] Use nats-js cache
2023-12-14 11:50:27 +01:00
nirajacharya2
dd12844282 adding test for file version of a share in a projectspace (#7829) 2023-12-14 14:44:27 +05:45
jkoberg
003310a2b0 use nats-js cache
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-13 12:48:27 +01:00
Viktor Scharf
b4d1feea5f apiTest: listPermissions (#7946)
* apiTest: listPermissions

* fix after review

* fix
2023-12-13 12:34:49 +01:00
Prarup Gurung
be92ee9d37 Added examples for common archive mediatype 2023-12-13 14:36:14 +05:45
Sawjan Gurung
a661257188 [tests-only][full-ci] Revert wrapper cleanup #7903 (#7922)
* Revert "remove unnecessary checks (#7903)"

This reverts commit c767076313.

* add logs

close channel

resolve panic

* set retry wait time
2023-12-13 11:43:54 +05:45
Roman Perekhod
40da95e1c0 [full-ci] fix public link update (#7862)
* the tests were modified

* Update tests/acceptance/features/coreApiSharePublicLink1/changingPublicLinkShare.feature

Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>

* the expected failures removed

* change log added, reva bumped.

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
2023-12-08 10:46:22 +01:00
Sawjan Gurung
c767076313 remove unnecessary checks (#7903) 2023-12-08 08:11:36 +01:00
Sawjan Gurung
834982e2fb tests: add 60 seconds timeout for the API requests (#7905) 2023-12-07 18:14:08 +05:45
Ralf Haferkamp
1ace257064 graph/groups: Allow unprivileged users to search for groups 2023-12-07 10:21:45 +01:00
Ralf Haferkamp
6fab0ad05a graph/users: Fix http status codes for unprivileged requests
Neither 'BadRequest' (as expected in the unit test) nor 'Unauthorized' (as expected
in the API tests) seem correct here. We're no returning 'Forbidden' when an unprivileged
users issues a GetUsers request that it is not allowed to perform.
2023-12-07 10:21:45 +01:00
Swikriti Tripathi
30f16dd80c [tests-only][full-ci] tests: update tests related to deletion of public link password to use ocsv2 as well (#7875)
* tests: update tests related to deletion of public link password to use ocsv2 as well

* tests: update expected to fail file
2023-12-07 12:11:26 +05:45
Michael Barz
51f21b20f5 ci: use global env variables for pw policy 2023-12-06 12:16:14 +01:00
Swikriti Tripathi
66e09938cb tests: add tests for update public link to delete password invite permission (#7894)
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-12-06 17:00:47 +05:45