Commit Graph

1437 Commits

Author SHA1 Message Date
Michael Barz c2f0ac41df tests: fix test expectation 2024-01-22 23:08:44 +01:00
Sawjan Gurung cb0090e840 extend test coverage for replacing file with zero-byte file (tus upload) (#8105) 2024-01-22 20:01:10 +05:45
Sawjan Gurung e07f4f0cb4 [tests-only][ci] split large API test suites (#8212)
* split large API test suites

* remove 30s sleep

* organize core-api test suites

* organize core-api test suites

* divide into 9 pipelines

* organize core-api test suites

* organize api-search suites

* organize api-search suites

* fix config file
2024-01-19 15:16:19 +05:45
Sagar Gurung 54a7da451f [tests-only][full-ci]Forward port setpassword and internallink (#8245)
* [tests-only][full-ci]Added test for banned password to create public link (#8194)

* Added test for banned password to create public link

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

* review address

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

---------

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

* [tests-only][full-ci]Added type internal for share link (public) (#8210)

* Added type internal for share link (public)

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

* fix Ci fail

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

---------

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

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-19 09:33:02 +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 2253096609 added test to send share invitation to user and group at once (#8168) 2024-01-16 09:07:59 +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 ad9a0e93ce step to show ocis logs (#8191) 2024-01-12 13:56:05 +01:00
Swikriti Tripathi f1327cc74d Add tests for remove permissions link share (#8190)
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2024-01-12 16:04:10 +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
Prarup Gurung c3716d1039 Added test for sending share invitation to deleted user 2024-01-11 16:25:27 +05:45
Prarup Gurung d69a916c12 Added test for sending share invitation to disabled user (#8174) 2024-01-11 11:31:55 +05:45
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
Prajwol Amatya d2635cc4df added test to send share invitation to a deleted group (#8166) 2024-01-10 13:56:02 +01:00
nirajacharya2 5b165e3209 adding test for getting versions of a file after moving it (#8013) 2024-01-10 17:11:45 +05:45
Sawjan Gurung bc59eab37b [tests-only] Added API tests coverage for MOVE within same folder with same filename (#8135)
* added API tests for moving a file within same folder and same name

* added API tests for moving a file within same folder and same name (file-id)

* update expected failure file
2024-01-09 16:33:04 +05:45
Ralf Haferkamp 9f47836681 Remove unused ownCloudQuota attribute from LDAP Schema
In oCIS the quota is a setting of the personal or project spaces. We
never stored quotas in LDAP for ocis nor are there plans to do so.

Fixes: #8059
2024-01-09 09:59:04 +01:00
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
Sawjan Gurung f779ee63c3 [tests-only] Extend API test coverage for MOVE between spaces using file-id (#8126)
* add issue tags

* extend API test coverage for MOVE between spaces using file-id

* fix table header

* re-arrange scenarios

* update expected failure

* update expected failure
2024-01-04 18:00:04 +05:45
Sawjan Gurung 0f9f996aba [tests-only] Extend API test coverage for MOVE between spaces (#8113)
* extend API test coverage for MOVE between spaces

* update line numbers
2024-01-03 12:09:59 +01:00
Prajwol Amatya 43e3d7d2a7 added issue-7257 tag on scenario (#8108) 2024-01-03 10:00:40 +05:45
Michael Barz 853c34ba6c Merge pull request #8102 from owncloud/update-reva
fix: update reva to fix status codes
2024-01-02 14:21:34 +01:00
Saw-jan 771fdc0c4d fix line numbers in expected failure list 2024-01-02 18:34:04 +05:45
Saw-jan 23111c8bba adjust MOVE tests to check 403 code 2024-01-02 18:11:46 +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
Prajwol Amatya a711cc5e11 added test to update file with empty content (#8097) 2024-01-02 12:07: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
Artur Neumann 0768723c89 use capabilites in ociswrapper 2023-12-29 13:56:11 +05:45
Prarup Gurung ed221b925a Added test for sending share invitation to group with permissions 2023-12-28 10:09:02 +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 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