Commit Graph

123 Commits

Author SHA1 Message Date
prashant-gurung899
8821017a77 lint the gherkin feature files
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-06-12 10:13:01 +05:45
Sawjan Gurung
abb537f08f [tests-only] separate different SharingNG share steps (#9097)
* separate When steps using root and permissions endpoints

test: separate resource sharing GIven step from space share

test: share space via root endpoint in Given steps

test: use existing step

test: fix more steps

* test: separate resource and space link share creation

test: fix php code style
2024-05-08 14:22:52 +05:45
Prarup Gurung
68f03f2f5e Addressed reviews 2024-05-03 09:52:29 +05:45
Prarup Gurung
7423fa3a4b Use sharingNG for sharing in given step, refactored accordingly 2024-05-03 09:52:29 +05:45
Viktor Scharf
79c74711c4 [full-ci] Delete resharing tests (#8704)
* feat: disable resharing by default

delete re-sharing tests

* fix tests

---------

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2024-03-27 10:30:25 +01:00
Prarup Gurung
3055d5912a Used kebab case for example table header name 2024-03-19 10:05:49 +05:45
Sawjan Gurung
3cea035d6d [tests-only] use new json schema assertion lib that supports latest schema drafts (#8503)
* test(api): use new json schema assertion lib that supports latest schema drafts

* test(api): fix json schema

* test(api): fix method call

* test(api): update expected failure lines

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): make json array validation strict

* test(api): fix php code style

* test(api): update expected failure lines
2024-02-23 16:24:22 +05:45
Sawjan Gurung
e07f4f0cb4 [tests-only][ci] split large API test suites (#8212)
* split large API test suites

* remove 30s sleep

* organize core-api test suites

* organize core-api test suites

* divide into 9 pipelines

* organize core-api test suites

* organize api-search suites

* organize api-search suites

* fix config file
2024-01-19 15:16:19 +05:45
nirajacharya2
448916a9dd [tests-only][full-ci] forward port user and group search tests (#8240)
* fixing json assertion for addUserToGroup.feature

* adding tests for searching groups as a normal user

* adding tests for searching user as a normal user

* fixing json assertion for removeUserFromGroup.feature

* fixing json assertion for listPermissions.feature
2024-01-18 15:14:10 +05:45
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
Viktor Scharf
2953258792 ApiTest. check userType in response (#7992) 2023-12-18 08:53:05 +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
Michael Barz
51f21b20f5 ci: use global env variables for pw policy 2023-12-06 12:16:14 +01:00
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
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
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
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 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
Sabin Panta
37208139f4 addressing the review (#7372) 2023-10-11 15:55:26 +05:45
Christian Richter
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 Richter
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 Scharf
be9ac740c9 [test-only] apiTest. banned password list (#7339)
* apiTest. banned password list

* fix after review
2023-09-25 11:50:34 +02:00
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
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
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
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
Nalem7
358bfef42e adding skip on stable3.0 (#7078) 2023-08-22 10:12:57 +05:45
Nalem7
63bb316303 refactoring the tag creating step using data table (#7051) 2023-08-18 16:44:22 +05:45
Nalem7
267c16f8e5 add test for sharee searches project spaces files using a tag (#7036) 2023-08-18 10:28:13 +05:45
nirajacharya2
5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Nalem7
3093a8456a add test for search project space folders by tag (#6968) 2023-08-08 16:25:39 +05:45
Nalem7
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
Nalem7
048d67c712 add api test for search files using tag in project spaces (#6853) 2023-08-04 17:29:02 +05:45
Swikriti Tripathi
389877e56d Remove skipOnStable2.0 tag (#6959) 2023-08-03 23:06:30 +02:00
Nalem7
9ca703f629 add api test for search file through tag (#6661) 2023-07-13 11:51:53 +05:45
Nalem7
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
Nalem7
ee1c9cf87f add api test for search tag by user (#6659) 2023-07-10 14:29:42 +05:45
Prajwol Amatya
941ef59cc9 refactor scenario example table (#6694) 2023-07-04 15:54:16 +05:45
Nalem7
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 Scharf
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 Scharf
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 Amatya
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 Neumann
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