Commit Graph

1268 Commits

Author SHA1 Message Date
Viktor Scharf
c62d19cf32 [test-only] ApiTest. search by date (#7310)
* add search test

* comment out failed test

* deleted cases

* Delete tests/ban.txt
2023-09-21 17:17:28 +02:00
Saw-jan
d4be6a83a7 ociswrapper: break wait if server responds with 200 2023-09-21 17:00:37 +05:45
Saw-jan
3c364742c8 ociswrapper: meaningful error message 2023-09-21 17:00:37 +05:45
Saw-jan
5d64f169b3 cleanup mesh 2023-09-21 17:00:37 +05:45
Saw-jan
6e6ae38963 ociswrapper: mark server ready if the server sends any response 2023-09-21 17:00:36 +05:45
Saw-jan
2b67d0c382 ociswrapper: do not panic if the process has already finished 2023-09-21 17:00:36 +05:45
Saw-jan
3c97bc5c53 ociswrapper: retry restarting ocis if it dies 2023-09-21 17:00:36 +05:45
Roman Perekhod
2e7b423dcc Added an option to enable a password check against a Banned-Password List (#7315)
* Added an option to enable a password check against a Banned-Password-List

* Update services/frontend/README.md

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

Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de>

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de>
2023-09-21 12:31:48 +02:00
Sawjan Gurung
862ad4d0f2 [full-ci][ociswrapper] Check ocis connection by requesting user info (#7293)
* check ocis connection by requesting user info

* set request-id
2023-09-21 11:27:26 +05:45
kobergj
7c9ce2305b Merge pull request #7291 from kobergj/NextDocsFix
[tests-only] Use OCIS_ASYNC_UPLOADS in docs
2023-09-19 11:28:07 +02:00
Viktor Scharf
eb537987ad [test-only] ApiTest. test for password policy (#7276)
* test for password policy

* test flaky

* renamed envs
2023-09-18 10:21:35 +02:00
jkoberg
a8eb523b5b remove old STORAGE_USERS_ASYNC_UPLOADS envvar from docs
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-15 14:43:12 +02:00
Swikriti Tripathi
8bad22ce6d Add test for searching content across files with different format with search text highlight (#7236) 2023-09-15 15:31:46 +05:45
Karun Atreya
4d4b9128ea [tests-only][full-ci] removing the setresponse in given/then step in TrashbinContext and TagsContext (#7261)
* refactor given and when steps in trashbin context

* applied same type of change in tagContext

* addressed the reviews

* added a space in step regex
2023-09-15 15:31:25 +05:45
Sagar Gurung
105bf6f204 Update expected to failure based on right issue (#7211) 2023-09-15 14:36:20 +05:45
Swikriti Tripathi
143675deff Skip test in reva master (#7278) 2023-09-14 10:39:11 +05:45
Nalem7
78f08eb092 adding the path check (#7007) 2023-09-13 18:16:28 +05:45
Prajwol Amatya
fa749529a9 [tests-only][full-ci ]Forwardport add test coverage for file preview using space dav version (#7266)
* Add tests for preview using space dav~

* use makeDavRequest to get preview of resource

---------

Co-authored-by: amrita <bunnycrestha34@gmail.com>
2023-09-12 12:05:55 +05:45
Karun Atreya
8d1b2e3343 [tests-only][full-ci] removing the setresponse in given/then step in CheckSumContext and FavoritesContext (#7202)
* making helper function, checking and setting response in given step and when steo respectively

* returning response and using in given/then steps as required in favoritesContext

* set the returned response on SpaceContext

* changed to inline variable in some lines as required

* to check for the specific https response code
2023-09-11 17:42:27 +05:45
Karun Atreya
dbb666babf [tests-only][full-ci] removing the setresponse in given/then step in FileVersionsContext (#7111)
* migrating set response from helper function to when step in preview feature

* separate single when/then steps by converting to helper function

* use of httpstatuscode check function in given step and rebased

* change function name

* remove use of setresponse in then step

* set the returned response
2023-09-11 17:29:28 +05:45
Viktor Scharf
3ec2502ea1 kql search tests (#7248)
Co-authored-by: Florian Schade <f.schade@icloud.com>
2023-09-08 13:18:26 +02:00
Sagar Gurung
c23e0433cf [tests-only][full-ci]Added test for server getting panic when adding password to a public link (#7233)
* Added test for server getting panic when adding password to a link

* Change test case
2023-09-07 17:19:21 +02:00
Florian Schade
844783b6f9 [full-ci] - use KQL as default search query language (#7212)
* enhancement: use kql as default search query language

* enhancement: add support for unicode search queries

* fix: escape bleve field query whitespace

* fix: search related acceptance tests

* enhancement: remove legacy search query language

* enhancement: add support for kql dateTime restriction node types

* chore: bump web to v8.0.0-alpha.2

* fix: failing search api test

* enhancement: search bleve query compiler use DateRangeQuery as DateTimeNode counterpart

* enhancement: support for colon operators in dateTime kql queries
2023-09-07 11:13:33 +02:00
Amrita
82428024f8 Remove composer update from makefile (#7227) 2023-09-06 18:46:57 +05:45
Prajwol Amatya
0aa41d90c1 send X-Request-Id in header of every request (#7085) 2023-09-06 16:07:53 +05:45
Karun Atreya
eed0de141f [tests-only][full-ci] removing the setresponse in given/then step in AppConfigurationContext and AuthContext (#7186)
* removing setting response in the given steps

* use response interface

* use the returned response

* check success response

* changed to inline variable

* changed variable response_xml to responseXml
2023-09-06 13:36:27 +05:45
Sabin Panta
5efc3c51a1 [tests-only][full-ci] refactoring user creation Given steps from provisioning into GraphContext (#7019)
* refactored the user creation given statement from provisioning to graph api

added getUser steps that covers the steps for user with user light role

* added userlight step tests to check drive information and updated expected failure files

* added usercreation initiation code

* deleted seperate tests for user light role

* remove unnecesary changes

* add user not initialize step

* corrected the testcode

* moved the steps from graph to provisioning file

* fix creating single ldap user

* fix: user check method

* initialize user via graph

* addressing reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-09-06 09:22:38 +05:45
Viktor Scharf
09c733b264 [test-only] apiTest. user cannot find not shared data (#7206)
* test for 6000 issue

* Update apiSpaceSearch.feature
2023-09-05 10:07:54 +02:00
Florian Schade
f172eb20ab [full-ci] chore: bump web to v8.0.0-alpha.1 (#7198)
* chore: bump web to 8.0.0-alpha.1
2023-09-04 17:31:14 +02:00
Sagar Gurung
76d6f12657 Make test code better for CI (#7190) 2023-09-01 16:42:35 +05:45
Karun Atreya
9c3511d2b0 make httpresponse check function to accept response object to get status from (#7169) 2023-09-01 09:50:48 +05:45
jkoberg
adcfddb7b2 adjust tests
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-31 12:11:43 +02:00
nabim777
93965cce40 move files in apiFullTextSearch 2023-08-31 12:46:46 +05:45
Prajwol Amatya
3566b965c6 [tests-only][full-ci] added test to update file using file id (#6990)
* added test to update file using file id

* changed the datatype of body from Tablenode to string
2023-08-25 12:01:27 +05:45
jkoberg
c161b68123 remove expected failure
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-23 14:14:52 +02:00
Phil Davis
20bea0cef6 Fix spacing of scenario description
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
2023-08-22 18:46:25 +05:45
Swikriti Tripathi
3fb6b94698 Fix the test step ordering 2023-08-22 16:23:17 +05:45
nirajacharya2
3e6b8da6a1 added skip on stable 3.0 tag (#7073) 2023-08-22 13:16:08 +05:45
Nalem7
358bfef42e adding skip on stable3.0 (#7078) 2023-08-22 10:12:57 +05:45
Swikriti Tripathi
d57e516046 Update expected to fail file to link failing tests to correct issue 2023-08-21 16:37:50 +05:45
nirajacharya2
d623575db2 [tests-only][full-ci] removed a scenario and added a example table (#7076)
* removing the scenario and adding a example table

* removing the scenario and adding a example table
2023-08-21 15:32:19 +05:45
Nalem7
63bb316303 refactoring the tag creating step using data table (#7051) 2023-08-18 16:44:22 +05:45
nirajacharya2
3156360d66 adding test for deprovisioning notification using date format (#7065) 2023-08-18 16:41:23 +05:45
Nalem7
267c16f8e5 add test for sharee searches project spaces files using a tag (#7036) 2023-08-18 10:28:13 +05:45
Prajwol Amatya
84bc7d88e2 added tests for reading content of a file by fileId using WebDav API (#6958) 2023-08-18 09:58:25 +05:45
Nalem7
3a03ccbf59 add test for sharee searches project spaces files by content (#7039) 2023-08-17 12:36:51 +05:45
Karun Atreya
997187226f added scenario for searching inside folder in shares (#6982) 2023-08-16 12:41:55 +05:45
nirajacharya2
5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Viktor Scharf
0258b2bfff [test-only]ApiTest. Deprovisioning notification tests (#6994)
* add create/delete notification tests

* fix grammar

---------

Co-authored-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-08-14 13:01:04 +05:45
Phil Davis
052710d704 Merge pull request #6987 from owncloud/search-project-files-by-content
[tests-only][full-ci]add test for search project space files by content
2023-08-10 13:25:04 +05:45