Commit Graph
126 Commits
Author SHA1 Message Date
Jörn Friedrich Dreyer e38ca9600c test: align acceptance tests with the bumped reva
The reva bump pulls in three backports that change what the acceptance
tests see:

- moving now also requires the delete permission, so a sharee with the
  Uploader role gets a 403 when moving inside a share
- oc:permissions only contains NV when the user can move, so a file
  shared as File Editor now reports SW instead of SNVW
- shares listed in the share jail root report the share jail root as
  their parent id, so propfindShares.feature:149 passes now

The Uploader rows move from the "can move" outlines to the "cannot
move" outlines. This shifts one scenario in moveSpaces.feature by three
lines, the expected failures lists are updated accordingly.

related: https://github.com/opencloud-eu/reva/pull/1020
related: https://github.com/opencloud-eu/reva/pull/1023
related: https://github.com/opencloud-eu/reva/pull/1024

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-18 11:01:11 +01:00
Sawjan Gurung 4bcf97353a test(api): fix share role update test scenario (#3322)
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-08-18 09:49:18 +02:00
Viktor Scharf e161069317 favorites tests (#2474) 2026-03-16 14:49:17 +01:00
Viktor Scharf 25246782b2 [full-ci] Enhance getSpaceByName: check local cache before Graph API calls (#1574)
* Enhance getSpaceByName: check local cache before Graph API calls

* Update API endpoint for regular user drives
2025-09-30 13:08:21 +02:00
Viktor Scharf 723340dba6 [full-ci] getting personal space by userId instead of userName (#1553)
* getting personal space by userId instead of userName

* delete geting userId via api call

* add new created user id to user list

* fix after review
2025-09-26 10:51:41 +02:00
Viktor Scharf 113725794d delete issue message in top of the feature files 2025-02-04 12:37:58 +01:00
Viktor Scharf 503bd8d826 fix preview tests 2025-01-20 15:31:45 +01:00
Viktor Scharf 9db4693a9e rebranding tests 2025-01-16 17:39:02 +01:00
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
Saw-jan bedddc4728 tests: fix tests 2024-12-09 14:52:23 +05:45
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Saw-jan bc63c2cbd7 test: merge similar steps 2024-11-27 14:54:18 +05:45
prashant-gurung899 e40015c2e2 add test to upload via TUS by federated user
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-11-22 09:47:08 +05:45
Sabin b5d5afcd5c remove old dav path for public share 2024-11-19 14:54:02 +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
Saw-jan 3822277421 test: fix TUS upload checksums
test: update expected-failure list

test: fix issue in expected failure list

test: fix OPTIONS scenarios
2024-08-28 10:34:28 +05:45
Saw-jan 29b9f9b07d test: fix COPY to mountpoint tests 2024-08-22 14:52:27 +05:45
prashant-gurung899 8113997a84 added test for copying files between spaces with secure viewer role
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-08-07 14:09:58 +05:45
Sabin b1e55a2853 added test coverage for sharing file between spaces via secure view role
updated expected failures file

addhressing reviews
2024-08-05 17:15:00 +05:45
Saw-jan 903131f767 test: adjust MOVE related tests 2024-08-05 14:46:49 +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
jkoberg 86c17e2b7e fix(tests): default archive format is now zip
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-17 10:13:16 +02:00
amrita e3195eed24 remove reve master tag 2024-07-08 14:48:40 +05:45
prashant-gurung899 263a3dc4e2 remove unused index paramater
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-06-27 15:43:28 +05:45
nabim777 1d0c0e2a6b add test coverage for project-space 2024-06-20 16:45:59 +05:45
Sabin Panta d6ae56eb37 Merge pull request #9408 from owncloud/test-coverage-for-download-file-shared-with-secure-role
[tests-only][full-ci] downloading file shared via secure view role
2024-06-19 15:53:45 +05:45
Sabin dc0401e25e downloading file shared via secure view role 2024-06-19 14:41:19 +05:45
prashant-gurung899 a7cda6bb81 add tests to create quick link of projectSpace
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-06-14 17:21:48 +05:45
Sawjan Gurung 9979165150 Merge pull request #9343 from prashant-gurung899/gherlint-fix-features
[tests-only][full-ci] lint the gherkin feature files
2024-06-12 15:06:24 +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
Roman Perekhod eb95a2859d fixed the error translation from the statusCodeError type into a corresponding graph api Error representation 2024-06-11 22:42:45 +02:00
Prarup Gurung a0a3447a00 Used expirationDateTime key for graph api (#9278) 2024-05-30 12:51:05 +05:45
Prarup Gurung 23800a6b09 [full-ci] [tests-only] Use sharing-ng in given steps for sharing (#9221)
* resharing.feature: Used sharingNG for sharing in given step

* unlockFiles.feature: Used sharingNG for sharing in given step

* apiSpacesShares suite: Used sharingNG for sharing in given step

* acceptShares.feature: Used sharingNG for sharing in given step

* uploadFile.feature: Used sharingNG for sharing in given step

* coreApiWebdavUploadTUS suite: Used sharingNG for sharing in given step

* tag.feature: Used sharingNG for sharing in given step

* coreApiShareOperationsToShares2 suite: Used sharingNG for sharing in given step

* updateShare.feature: Used sharingNG for sharing in given step

* Fixed line numbers in expected failure
2024-05-22 13:01:54 +05:45
Prarup Gurung e1a35b9731 shareUploadTUS.feature: Used sharingNG for sharing in given step 2024-05-15 11:54:59 +05:45
Prarup Gurung 99bb887965 shareSubItemOfSpaceViaPublicLink.feature: Used sharingNG for sharing in given step 2024-05-15 11:54:58 +05:45
Prarup Gurung f2f2439284 shareSubItemOfSpace.feature: Used sharingNG for sharing in given step 2024-05-14 17:07:10 +05:45
Prarup Gurung 8a91df10ad shareSpacesViaLink.feature: Used sharingNG for sharing in given step 2024-05-14 17:07:10 +05:45
Prarup Gurung 4bf22b054a shareSpaces.feature: Used sharingNG for sharing in given step 2024-05-14 17:07:09 +05:45
Prarup Gurung b4b51437a0 [full-ci] [tests-only] Used sharing-ng in given steps (#9120)
* publicLinkDownload.feature: Used sharingNG for sharing in given step

* shareOperations.feature: Used sharingNG for sharing in given step
2024-05-09 17:17:14 +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 34ee7e68fe [full-ci] [tests-only] Used sharing-ng in given steps (#9090)
* etagPropagation.feature: Used sharingNG for sharing in given step

* favorite.feature: Used sharingNG for sharing in given step

* moveSpaces.feature: Used sharingNG for sharing in given step
2024-05-08 09:45:36 +05:45
Prarup Gurung 3795a955c1 Addressed reviews 2024-05-07 16:28:25 +05:45
Prarup Gurung f36fc13cba copySpaces.feature: Used sharingNG for sharing in given step 2024-05-07 16:27:11 +05:45
Prarup Gurung 17120a4037 checksum.feature: Used sharingNG for sharing in given step 2024-05-07 16:27:11 +05:45
Prarup Gurung c9af623050 changingFilesShare.feature: Used sharingNG for sharing in given step 2024-05-07 16:27:11 +05:45
Viktor Scharf 65b48d3460 [test-only] update share without permission (#8748)
* update share without permission

* Update resharing.feature

* Update resharing.feature
2024-03-28 10:15:13 +01:00
Viktor ScharfandMichael Barz 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 fcba2d34a4 Used kebab case for example table header name 2024-03-21 10:04:25 +05:45
Viktor Scharf 5a89c3605f [test-only] share items with share permission if resharing is disabled (#8461)
* share item with share permission if resharing is disabled

* php style fix

* change error message
2024-02-21 11:14:58 +01:00