Commit Graph
61 Commits
Author SHA1 Message Date
Viktor Scharf 32e72ca224 tests: check access of guests and sharees outside of the shared resource (#3771)
* tests: check access of guests and sharees outside of the shared resource

* tests: return responses from helpers and set them only in When steps
2026-11-25 11:28:23 +01:00
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
Michael Barz a3255422b8 chore: bump reva to latest main (#3642) 2026-10-02 15:53:08 +02:00
Viktor Scharf f3693ef112 api-test: cover additional unified roles in acceptance tests (#3169) 2026-07-27 09:12:38 +02:00
Viktor Scharf a53eb44083 steps refactoring (#3100) 2026-07-14 09:32:35 +02:00
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
pradip 0baccb922a test(refactor): change the structure of When step while moving, copying and renaming 2024-11-19 17:17:59 +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
amrita 8cc13a2dbe add tests for file version with OCIS_DISABLE_VERSIONING config 2024-10-22 12:26:47 +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 732f2b241e test: rename PROPFIND response check steps
test: fix tests
2024-10-02 13:33:33 +05:45
Saw-jan 08922584bc test: fix PROPFIND shares space tests 2024-10-02 13:33:33 +05:45
prashant-gurung899 809b7a4373 add tests to check versions of file in a space shared via link
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-09-10 11:56:58 +05:45
prashant-gurung899 4c828d36f0 add tests for new role space editor withour versions
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-09-09 17:01:19 +05:45
Salipa-Gurung 5f9469540d add test coverage for copying file using file id from project space 2024-09-04 16:57:29 +05:45
Salipa-Gurung 321bb6af7e add test coverage for copying file using file id from share space 2024-08-29 17:23:09 +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
Saw-jan 80c72f59be test: wait and check for sync status before action 2024-06-28 09:51:07 +05:45
Viktor Scharf e95325bdb3 fix flaky 2024-06-27 12:28:26 +02:00
prashant-gurung899 8821017a77 lint the gherkin feature files
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-06-12 10:13:01 +05:45
Sabin Panta 8b2f5282c2 changing given step of creating share in feature file (#9105) 2024-05-09 14:23:32 +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
Sabin Panta 288619f626 changing given step of creating share in feature file (#9092) 2024-05-08 10:06:23 +05:45
Prajwol Amatya 5acba455dc added test for group user downloading shared resource inside project space when auto sync is disabled (#8945) 2024-04-25 18:43:11 +05:45
Prajwol Amatya 78ba483784 added test for sharee downloading resource inside project space when auto sync is disabled (#8944) 2024-04-24 16:25:13 +05:45
Nalem7 cfd235068d add test for downloading resouces by group user when auto sync is disabled (#8754) 2024-04-04 10:00:29 +05:45
Nalem7 16c412f870 add test for downloading resouces by user when auto sync is disabled (#8737) 2024-03-27 15:37:23 +05:45
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
Christian Richter 6ddac23b16 fix tests
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-03-18 16:06:48 +01:00
Sawjan Gurung 50198be6ba test(api): extend tests MOVE to space-id as destination (#8470) 2024-02-19 15:07:17 +05:45
Sawjan Gurung 9e7a9bab9a [tests-only] add API test coverage for file MOVE to space-id as destination (#8459) 2024-02-15 21:26:17 +05:45
Sawjan Gurung c8d102351e adjust MOVE tests (#8316) 2024-01-30 16:53:07 +05:45
Sawjan Gurung d8d7795122 test: revert error message 2024-01-26 21:19:11 +05:45
Sawjan Gurung 921f7d9d20 test: adjust MOVE between spaces test expectations 2024-01-26 20:56:39 +05:45
Sawjan Gurung ff10d011e0 [tests-only] Added test coverage for checking file versions after MOVE (#8183)
* add test coverage for checking file versions after MOVE

* fix php style

* address reviews
2024-01-12 10:34:44 +01:00
nirajacharya2 5b165e3209 adding test for getting versions of a file after moving it (#8013) 2024-01-10 17:11:45 +05:45
Sawjan Gurung bc59eab37b [tests-only] Added API tests coverage for MOVE within same folder with same filename (#8135)
* added API tests for moving a file within same folder and same name

* added API tests for moving a file within same folder and same name (file-id)

* update expected failure file
2024-01-09 16:33:04 +05:45
Sawjan Gurung f779ee63c3 [tests-only] Extend API test coverage for MOVE between spaces using file-id (#8126)
* add issue tags

* extend API test coverage for MOVE between spaces using file-id

* fix table header

* re-arrange scenarios

* update expected failure

* update expected failure
2024-01-04 18:00:04 +05:45
Saw-jan 23111c8bba adjust MOVE tests to check 403 code 2024-01-02 18:11:46 +05:45
nirajacharya2 03143361d9 [tests-only][full-ci] Added API tests to check file versions of a file inside a shared space (#7969)
* adding test for file version of a share in a projectspace

* adding test for listing file version of a file inside project space
2023-12-14 14:51:50 +01:00
nirajacharya2 dd12844282 adding test for file version of a share in a projectspace (#7829) 2023-12-14 14:44:27 +05:45
Nalem7 e1ce05609e add test for move and rename file between space in project-space (#7653) 2023-11-24 17:17:52 +05:45
Nalem7 74f1b2c56d add test for rename and move the file between personal and share space using fileid (#7637) 2023-11-23 15:21:26 +05:45
Nalem7 42690f3e80 add tests for move rename file between personal and project space with file-id (#7535) 2023-11-21 12:00:04 +01:00
nabim777 c52f2fc8ca add tests for move file within shares using file-id 2023-11-21 10:13:56 +05:45
Nalem7 418e13517d add test for copy file between space in project-space (#7647) 2023-11-06 12:34:54 +05:45
Nalem7 037201828f add test for copy file between personal space and share space using fileID (#7627) 2023-11-01 14:09:05 +05:45
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