Commit Graph

1394 Commits

Author SHA1 Message Date
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
nirajacharya2
dac33abe41 refactoring Sharing.php test file (#7534) 2023-12-05 18:43:30 +05:45
Viktor Scharf
81ace6dd1d run k6 test in remote server nightly (#7869)
* run k6 test in remote server nightly

* fix pipeline

disable clone step

download script file

enable only for cron events

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-12-04 11:49:16 +01:00
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
André Duffeck
04cb96662c Read from stderr and stdout concurrently to prevent buffers from filling
Without this change the stdout buffer could fill up, causing writes to
stdout hang indefinitely.
2023-11-29 12:23:05 +01:00
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
Prarup Gurung
e17cb94ef1 Fixed line numbers in expected failure 2023-11-22 15:45:33 +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
Sawjan Gurung
93e2c23e8e [tests-only] stop ocis server with sigint to allow gracefull shutdown (#7759)
* stop ocis with sigint to allow gracefull shutdown

* wait until ocis process is completely down
2023-11-21 16:46:44 +05:45
Nalem7
42690f3e80 add tests for move rename file between personal and project space with file-id (#7535) 2023-11-21 12:00:04 +01:00
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
Prarup Gurung
42cdd2c863 Merge pull request #7606 from owncloud/add-step-move-for-shares-with-file-id
[tests-only][full-ci] Add tests for move file within shares using file-id
2023-11-21 14:09:11 +05:45
Nalem7
111dbb33a9 add test for unlocking project space file (#7698) 2023-11-21 12:18:23 +05:45
nabim777
c52f2fc8ca add tests for move file within shares using file-id 2023-11-21 10:13:56 +05:45
Michael Barz
c541c52bc2 Merge pull request #7748 from owncloud/updateWeb
[full-ci] web bump. fix flaky e2e test.
2023-11-20 08:25:08 +01:00
Sawjan Gurung
6ee973ec0c unskip lastmonth date search API test (#7755) 2023-11-20 12:43:45 +05:45
Viktor Scharf
ab28145600 expand pbanned passw list 2023-11-18 08:21:39 +01:00
Michael Barz
74a51d50f3 Merge pull request #7746 from 2403905/issue-7359
[full-ci] bump reva
2023-11-17 21:13:07 +01:00