Commit Graph

419 Commits

Author SHA1 Message Date
nirajacharya2
ad2303b490 adding tests for searching user as a normal user (#8094) 2024-01-17 15:43:07 +05:45
nirajacharya2
97f2c8d354 adding tests for searching groups as a normal user (#8096) 2024-01-17 12:52:37 +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
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
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
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
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
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
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
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
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
nirajacharya2
26411f1f3b re runing ci (#7811)
Co-authored-by: Nalem7 <61624650+nabim777@users.noreply.github.com>
2023-12-01 14:02:39 +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
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
Swikriti Tripathi
96862f4eb1 tests: add tests for lock expiration (#7777) 2023-11-22 15:37:29 +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
74dc3663a5 [tests-only][full-ci]Move unlock related tests from core to local api tests (#7747)
* Move unlock related tests from core to local api tests

* refactor tests

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* test:add failing test to expected to failure

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-11-21 15:07:26 +05:45
Nalem7
111dbb33a9 add test for unlocking project space file (#7698) 2023-11-21 12:18:23 +05:45
Swikriti Tripathi
792c8cc1b9 [tests-only][full-ci]Move locks related tests to local api tests and link the failing lock tests with correct issues (#7643)
* Link the failing lock tests with correct issues that they are failing with

* Move locks relates tests to new suite

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* address reviews

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* Add new scenario for trying to lock a folder

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-11-17 16:22:12 +05:45
Sawjan Gurung
a4e7a64cd0 wait 5 seconds before search (#7733) 2023-11-16 15:17:48 +05:45
Roman Perekhod
a6b75bc9f6 fix libre-graph status codes (#7705)
* fix libre-graph status codes

* owncloud-test-middleware bumped

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
2023-11-15 17:45:23 +01:00
Viktor Scharf
91ae5172f6 [full-ci]Enforce pass by default. changed api tests (#7706)
* set enforce pass by default. change tests

* fix tests

* fix test
2023-11-13 23:37:12 +01:00
Sawjan Gurung
3653df5f96 wait 5 seconds for search index to complete (#7707) 2023-11-13 21:01:46 +05:45
Viktor Scharf
dfc55c39ef [test-only] Add more lock test (#7624)
* add more lock test

* Update WebDavLockingContext.php

* fix
2023-11-01 10:47:08 +05:45
Sawjan Gurung
e931597cc7 [tests-only] skip search by last month test (#7631)
* skip search by last month test

* use first day of the previous month
2023-10-31 17:34:32 +05:45
nirajacharya2
cbfd894243 add query params to the log (#7493) (#7399)
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
2023-10-31 12:17:50 +05:45
Sabin Panta
cc1f93eef1 [tests-only][full-ci] refactoring the user delete code from ocs to graphapi (#7020)
* addressing the reviews

* addressing the review

* refactored test code

* updated expected failures file
2023-10-31 12:01:36 +05:45
Sabin Panta
1c6600365c [tests-only][full-ci] Refactoring all graphapi related featurefile wording (#7389)
* refactoring the feature file steps

* addressing review
2023-10-30 17:57:42 +05:45
Viktor Scharf
711c86ef3a [test-only] new lock tests (#7595)
* add new lock tests

* fix after review

* Update WebDavLockingContext.php
2023-10-27 14:45:15 +02:00
Nalem7
a15fe45d6a add tests for copy file within shares ucing file-id (#7593) 2023-10-27 15:11:32 +05:45
Sawjan Gurung
8eb7f7aa96 [tests-only] skip sharing tests in reva (#7591)
* do not use spacesContext

* skip sharing tests in reva

* update expected failure list

* do not cleanup status codes

* skip shares tests in reva

* update expected failure list
2023-10-27 12:37:09 +05:45