Commit Graph

1357 Commits

Author SHA1 Message Date
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
Roman Perekhod
14f7790574 update the tests 2023-11-17 13:24:45 +01:00
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
Ralf Haferkamp
50f63bf436 bump reva to latest edge (#7727)
* bump reva to latest edge

To get https://github.com/cs3org/reva/pull/4336

* graph: Import unified role related code from reva

The UnifiedRole related types are pretty specific to the graph service.
Maintaining them as part of reva makes things more complex that required.

* chore: add failing cases to the expected failures

---------

Co-authored-by: Florian Schade <f.schade@icloud.com>
2023-11-17 09:18:45 +01:00
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
Artur Neumann
94d36b18f8 fix expected user-id in notifications 2023-11-15 14:50:14 +05:45
Artur Neumann
d452c11a0e fix typo in test 2023-11-15 14:18:31 +05:45
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
Andre Duffeck
7bb67d7e41 [full-ci] Bump reva (#7675)
* Bump reva

* Adapt expected failures

* update MOVE files between shares tests

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-11-09 15:26:16 +01:00
Nalem7
418e13517d add test for copy file between space in project-space (#7647) 2023-11-06 12:34:54 +05:45
Sagar Gurung
f4ac6194b0 [tests-only][full-ci]Added script to check the deleted suites in the expected to failure (#7639)
* Added script to check the deleted suites in the expected to failure files

* Added drone pipeline

* Refactor script in loop
2023-11-02 17:53:33 +05:45
Swikriti Tripathi
861e32eadb [tests-only][full-ci]Move lock related tests to new suites (#7645)
* Move lock related tests to new suites

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

* update expected to fail file

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

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-11-02 12:31:19 +05:45
Nalem7
037201828f add test for copy file between personal space and share space using fileID (#7627) 2023-11-01 14:09:05 +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
Swikriti Tripathi
16b6f58af6 Add tests for searching for resources with whitespace chars in its name (#7619) 2023-11-01 10:05:41 +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
Prajwol Amatya
2bee588977 added test for previewing shared resource inside project space (#7544) 2023-10-26 12:59:34 +05:45
Viktor Scharf
890b8bf991 [test-only] increase test coverage for content search (#7574)
* add search test

* Update contentSearch.feature
2023-10-26 08:33:17 +02:00
Andre Duffeck
96c877727d Merge pull request #7556 from owncloud/skipTestMovingBetweenSpace
[test-only] skip tests moving between shares jail
2023-10-23 09:59:59 +02:00
Michael Barz
3c7bae4071 [Feature] add new config to enforce public link password (#7547)
* add new config to enforce public link password

* add api test
2023-10-20 17:55:36 +02:00
Viktor Scharf
4e27005e68 skip tests moving between shares jail 2023-10-20 16:12:51 +02:00
Swikriti Tripathi
c42e5ae6ba [tests-only][full-ci]Adds test for getting share jail space information of the user when user has pending share (#7530)
* Adds test for getting share jail space information of the user when user has a pending share

* fix style and add issue tag

* address reviews
2023-10-20 15:04:07 +05:45
Nalem7
b37578216e add test for copy file between project and personal space (#7495) 2023-10-20 14:22:46 +05:45
Viktor Scharf
a9ddfec182 [test-only] fix tests after auto-accepting enabling (#7527)
* fix test

* fix preview test
2023-10-19 16:29:10 +02:00
Sawjan Gurung
a441932a30 retry space listing if required space is not found (#7521) 2023-10-19 09:47:47 +02:00
Viktor Scharf
c817f9b574 comment out flaky test 2023-10-17 17:03:28 +02:00
Viktor Scharf
c179485db6 [full-ci] ApiTests. enable auto accepting in api tests (#7477)
* enable auto accepting in test

* go format
2023-10-17 16:29:05 +02:00
Roman Perekhod
04a5ee283e fix default language fallback (#7479)
* fix default language fallback

* Update services/userlog/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

* Update services/notifications/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

* readme updated. local env vars removed

* Update changelog/unreleased/fix-default-mail-language-fallback.md

Co-authored-by: Martin <github@diemattels.at>

* update readme's and envvar texts

* fix changelog text

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
2023-10-17 09:56:48 +02:00
Karun Atreya
83971fa19a [tests-only] [full-ci] removing the setresponse in given/then step in spaces context (#7496)
* refactor given/when/then steps in spaces context

* pass the returned response without setting in then step

* added the missing when step whose response is checked by the then step

* addressed the reviews

* changed from decoded body to docoded response
2023-10-17 11:41:47 +05:45
Sabin Panta
dc3ed28696 [tests-only][full-ci] refactoring user addition to group to graphapi (#7360)
* changed user addition to group to graphapi

* addressing the review

* addressing review regarding nonexistent user

* addressing the review

* updated expected failures file

* changing code to make it pass in reva edge

* addressing review

* addressing review
2023-10-17 11:34:53 +05:45