Commit Graph

134 Commits

Author SHA1 Message Date
Salipa-Gurung
6c4c8bdffa refactor test steps 2024-08-13 13:13:58 +05:45
Salipa-Gurung
8f00e9cb60 add test to check move activity of file 2024-08-13 13:10:49 +05:45
Salipa-Gurung
a5f861f99e add issue tag 2024-08-12 13:04:26 +05:45
Salipa-Gurung
b8665e257d add test for folder deletion activity 2024-08-12 13:04:25 +05:45
Salipa-Gurung
e96bac1e25 add test for file deletion activity 2024-08-12 13:04:25 +05:45
Salipa-Gurung
2b5144a97d fix indentation 2024-08-12 13:04:24 +05:45
Saw-jan
878c5f4075 test: ensure share is available before performing actions
test: fix expected-failure lines
2024-07-26 15:19:33 +05:45
Salipa-Gurung
065c4fa027 add test coverage for activities api for a file 2024-07-25 14:51:18 +05:45
pradip
7b8b4faf05 test: add test coverage for roleMangement endpoints 2024-07-23 12:46:16 +05:45
Saw-jan
dd8a3eb3d2 tests: add test cases for non-admin actions to admin resources 2024-07-18 17:43:16 +05:45
Saw-jan
244f2bc937 test: updated test expectation 2024-07-18 10:08:15 +05:45
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