Commit Graph

153 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer a46fd132bd use OC_ env prefix
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:11:11 +01:00
prashant-gurung899 11b5e8ccbc add test to check settings api response
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-09 09:52:39 +05:45
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Sabin b5d5afcd5c remove old dav path for public share 2024-11-19 14:54:02 +05:45
Prajwol Amatya f31f92a028 update expected failure file 2024-11-19 09:07:45 +05:45
Prajwol Amatya 33a99d6de3 extend webdav tests for old, new and spaces path 2024-11-19 09:07:45 +05:45
Niraj Acharya a780da88d1 running secure viewer role with ocis wrapper instead of running ocis with GRAPH_AVAILABLE_ROLES 2024-10-25 11:55:50 +05:45
Saw-jan f86d137f87 test: make remote.php configurable
test: build dav paths

test: fix paths

test: merge method args

test: add issue tags

test: add new expected failure file

test: merge expected-failure files before running tests
2024-10-21 16:57:58 +05:45
Michael Barz 2c9dab3e7c tests: adapt test expectations 2024-09-13 14:43:13 +02:00
prashant-gurung899 390114f7d6 add test to check activity after language translation
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-08-21 14:43:47 +05:45
Salipa-Gurung 246c4223cd add test to check activities of a folder 2024-08-14 17:38:23 +05:45
Sawjan Gurung 459f1692a1 Merge pull request #9743 from owncloud/test-activities-api-rename
[tests-only] [full-ci] Test for resource(file|folder) rename activity
2024-08-14 09:54:07 +05:45
Jörn Friedrich Dreyer ad62bb1817 Merge pull request #9765 from owncloud/federated-user-roles
allow querying federated sharing roles
2024-08-13 16:49:48 +02:00
Jörn Friedrich Dreyer 99c6b6648e no need to introduce dedicated roles
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-13 16:10:19 +02:00
Salipa-Gurung 6fb5c228db added step for checking folder move activity 2024-08-13 17:18:40 +05:45
Salipa-Gurung dbb358b7fb added step for checking folder upload activity 2024-08-13 17:18:40 +05:45
Salipa-Gurung 317bb6cc2f refactor scenario for deletion activity 2024-08-13 17:18:39 +05:45
Salipa-Gurung 571625cb17 add test to check rename activity of file and folder 2024-08-13 17:18:32 +05:45
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
Jörn Friedrich Dreyer 966b4e1422 allow querying federated sharing roles
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-12 11:29:39 +02:00
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