Commit Graph
112 Commits
Author SHA1 Message Date
Viktor ScharfandGitHub 2953258792 ApiTest. check userType in response (#7992) 2023-12-18 08:53:05 +01:00
Ralf HaferkampandRalf 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
Michael Barz 51f21b20f5 ci: use global env variables for pw policy 2023-12-06 12:16:14 +01:00
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 ScharfandGitHub 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
Sabin PantaandGitHub 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
Michael BarzandGitHub 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 ScharfandGitHub 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
Sabin PantaandGitHub 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
Sabin PantaandGitHub 37208139f4 addressing the review (#7372) 2023-10-11 15:55:26 +05:45
Christian RichterandJörn Friedrich Dreyer b4750c4b72 Modify test-suite (upper/lowercase issues)
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-09-26 16:37:44 +02:00
Christian RichterandJörn Friedrich Dreyer d1e84281f5 Fix test suite (uppercase error strings)
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-09-26 14:11:21 +02:00
Viktor ScharfandGitHub be9ac740c9 [test-only] apiTest. banned password list (#7339)
* apiTest. banned password list

* fix after review
2023-09-25 11:50:34 +02:00
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
Viktor ScharfandGitHub 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
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
nabim777 93965cce40 move files in apiFullTextSearch 2023-08-31 12:46:46 +05:45
Swikriti Tripathi 3fb6b94698 Fix the test step ordering 2023-08-22 16:23:17 +05:45
Nalem7andGitHub 358bfef42e adding skip on stable3.0 (#7078) 2023-08-22 10:12:57 +05:45
Nalem7andGitHub 63bb316303 refactoring the tag creating step using data table (#7051) 2023-08-18 16:44:22 +05:45
Nalem7andGitHub 267c16f8e5 add test for sharee searches project spaces files using a tag (#7036) 2023-08-18 10:28:13 +05:45
nirajacharya2andGitHub 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Nalem7andGitHub 3093a8456a add test for search project space folders by tag (#6968) 2023-08-08 16:25:39 +05:45
Nalem7andGitHub 3eb5a22375 add test for search version restored files by tag (#6974) 2023-08-08 12:15:26 +05:45
KarunAtreya 60bfd5f6cf added test scenario for searching inside particular folder only 2023-08-07 09:31:50 +05:45
Nalem7andGitHub 048d67c712 add api test for search files using tag in project spaces (#6853) 2023-08-04 17:29:02 +05:45
Swikriti TripathiandGitHub 389877e56d Remove skipOnStable2.0 tag (#6959) 2023-08-03 23:06:30 +02:00
Nalem7andGitHub 9ca703f629 add api test for search file through tag (#6661) 2023-07-13 11:51:53 +05:45
Nalem7andGitHub 469341c027 add test for search by deleted tag (#6660) 2023-07-12 10:34:21 +05:45
nabim777 ebc383164d add scenario for search folder tag 2023-07-11 09:46:01 +05:45
Nalem7andGitHub ee1c9cf87f add api test for search tag by user (#6659) 2023-07-10 14:29:42 +05:45
Prajwol AmatyaandGitHub 941ef59cc9 refactor scenario example table (#6694) 2023-07-04 15:54:16 +05:45
Nalem7andGitHub fe02377d5a [tests-only] [full-ci] Added API test to search shared files by sharee using tag (#6653)
* add api test for search file through tag

* review addresses
2023-06-30 12:33:54 +05:45
Viktor ScharfandGitHub f0d99683f0 expand createUser.feature (#6662) 2023-06-29 18:10:49 +02:00
nabim777 5ba7e887f7 add api test for search file through tag 2023-06-29 15:44:38 +05:45
Viktor ScharfandGitHub ef7ff6e695 [test-only] personal space is deleted after a user is deleted test (#6642)
* ensure that personal space is deleted after deliting user

* add test with accepted share

* fix after review

* Update deleteUser.feature
2023-06-28 16:22:09 +02:00
Prajwol AmatyaandGitHub 831d57f748 [tests-only] [full-ci] API test for enforce password config and update the public share to edit permission (#6409)
* api test to update public link to upload, edit or contribute permission with enforce password enabled

* added test to create public link with enforce password enabled
2023-06-22 14:25:45 +05:45
Artur NeumannandGitHub 86d5e2564c Merge pull request #6538 from owncloud/useGraphinsteadOfSettingMethodInTests
[test-only][full-ci] using graph method instead of setting in api tests
2023-06-16 10:36:00 +05:45
Viktor Scharf 5867dae18f using Graph instead Of Setting Method In Tests 2023-06-15 17:03:53 +02:00
Viktor ScharfandGitHub 872bdb0217 [test-only] changing status code of the api tests (#6533)
* change status code

* save issue tag
2023-06-15 16:55:53 +02:00
Viktor ScharfandGitHub 7c3215a948 [test-only] Fix code expectation (#6464)
* fix code expectation

* fix
2023-06-07 13:41:30 +02:00
Roman PerekhodandGitHub 96f658c281 Merge pull request #6440 from 2403905/issue-6436
Fix the username validation when an admin update the user
2023-06-07 12:23:47 +03:00
Roman Perekhod 1ac49dfd64 Fix the username validation when an admin update the user 2023-06-06 17:15:38 +02:00
Michael Barz d5dcaaa7b4 fix test expectations 2023-06-06 16:03:43 +02:00
Prarup GurungandGitHub 09729552e3 Added GDPR report test for events.SpaceCreated (#6397) 2023-05-29 11:12:39 +05:45
Prarup GurungandGitHub bc01691842 Added GDPR report test for events.SpaceShared (#6383) 2023-05-26 11:27:10 +05:45
Sagar GurungandGitHub 3a93b44007 [tests-only][full-ci]Added GDPR export for folder creation, sharing a file (#6360)
* Added GDPR export for folder creation, sharing a file

* Added link creation GDPR scenario

* Added scenarios for GDPR export for item trashed event

* Review addresss
2023-05-24 10:39:40 +05:45
Prarup Gurung 8d06acf030 Added api test for changing app role of user 2023-05-23 15:11:52 +05:45
4b04870ade [full-ci] [tests-only] unassign app role assignment of user (#6030)
* Added scenario to unassign the role of user

* Added scenario,admin tries to unassign the own role

* Addressed reviews

* refactor

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-05-15 10:45:24 +02:00
jkoberg f30fe2757c fix graph test
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-05-12 12:34:32 +02:00