Commit Graph

743 Commits

Author SHA1 Message Date
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 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
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
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
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
nirajacharya2 dd12844282 adding test for file version of a share in a projectspace (#7829) 2023-12-14 14:44:27 +05:45
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
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
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
nirajacharya2 dac33abe41 refactoring Sharing.php test file (#7534) 2023-12-05 18:43:30 +05:45
Swikriti Tripathi d37cea3a5e [tests-only][full-ci] tests: add api tests for deleting public link password (#7828) 2023-12-02 08:24:56 +05:45
nirajacharya2 26411f1f3b re runing ci (#7811)
Co-authored-by: Nalem7 <61624650+nabim777@users.noreply.github.com>
2023-12-01 14:02:39 +05:45
Sabin Panta f280a00b7c adding skip on reva tag (#7856) 2023-11-30 17:56:35 +05:45
Prajwol Amatya 12f416a18e add tests for search files using media type (#7836) 2023-11-30 12:42:32 +05:45
Swikriti Tripathi 0d9f676901 tests: refactor send profind request to space function (#7835) 2023-11-29 11:25:01 +05:45
Sabin Panta 4d14e048d9 added steps for group removal in provisioning.php files (#7380) 2023-11-29 10:35:55 +05:45
Swikriti Tripathi 580e8aeb46 tests: add api tests for changing system language using graph api (#7817) 2023-11-28 15:33:17 +05:45
nirajacharya2 8a6fcc7b70 refactoring FeatureContext.php file (#7548) 2023-11-28 14:03:07 +05:45
Swikriti Tripathi a1dd520262 tests: add test for lock/unlock in public link share (#7789) 2023-11-27 16:39:47 +05:45
Sawjan Gurung 334684f2b6 extend depth:infinity enabled tests (#7397) 2023-11-27 15:54:17 +05:45
Sawjan Gurung c017037c71 unskip share test (#7806) 2023-11-27 09:56:10 +01:00
Nalem7 e1ce05609e add test for move and rename file between space in project-space (#7653) 2023-11-24 17:17:52 +05:45
Swikriti Tripathi ed46fa9148 [tests-only]tests: add tests for unlocking using file id (#7780)
* tests: add tests for unlocking using file id

* tests: add test for unloing a project space file using fileid

* tests: add test for uploading to a share space file using fileid

* tests: adddress reviews
2023-11-24 14:22:41 +05:45
Prarup Gurung 994f5e1840 Skip test for reva 2023-11-24 11:34:21 +05:45
Nalem7 74f1b2c56d add test for rename and move the file between personal and share space using fileid (#7637) 2023-11-23 15:21:26 +05:45
Prarup Gurung b3e22ed694 Merge pull request #7779 from owncloud/add-missing-env-config-tag
[full-ci] [tests-only] Added @env-config tags
2023-11-22 16:31:20 +05:45
Swikriti Tripathi 96862f4eb1 tests: add tests for lock expiration (#7777) 2023-11-22 15:37:29 +05:45
Prarup Gurung ba0015385d Added @env-config tags 2023-11-22 14:29:07 +05:45
Sawjan Gurung da390e8f12 [tests-only] Retry listing roles if the response body is invalid (#7735)
* retry listing roles if the response body is invalid

* fix php style

* reset tryAgain
2023-11-21 18:29:19 +05:45
Swikriti Tripathi 279d0f8563 [tests-only][full-ci] move tests coreApiWebdavLocksUnlock/unlockSharingToShares.feature from to local api (#7769)
* tests:move tests from coreApiWebdavLocksUnlock/unlockSharingToShares.feature to local api

* tests: remove unnecessary behat config
2023-11-21 17:45:34 +05:45