Commit Graph
25 Commits
Author SHA1 Message Date
Viktor Scharf 05b0830cbf test: wait for the share sync in the Given steps that create shares (#4158)
* test: wait for the share sync in the Given steps that create shares

Shares are synced (auto-accepted) asynchronously by the sharing service,
so the scenarios waited for it with "user ... has a share ... synced"
after each share. Where they didn't, the following steps could race with
it, e.g. a hide sent before the auto-accept was overwritten by it.

The Given steps that create user and group shares now wait until the
share is synced for each user it was sent to (the members of a group),
unless the user has auto-sync turned off. The "has a share ... synced"
steps that only followed such a Given step are removed, and the line
references of the expected failures are updated.

Assisted-by: Claude Code:claude-opus-5-5

* test: don't wait for the sync of a share with the role Denied

A share with the role Denied gives no access, so it never shows up in
the shared-with-me list of the sharee, and the wait for its sync timed
out.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-29 10:42:57 +00:00
Michael Stingl bf3b5c5e1f test(apiArchiver): the single-resource archive is named after the resource (#3080)
An archive download of a single folder was always named "download.zip" until the
handler resolved the resource name for the Content-Disposition header
(https://github.com/opencloud-eu/reva/pull/661). Add a scenario asserting the
archive of a folder carries a Content-Disposition filename of the folder,
reusing the archiver download step and the header-regex assertion.

Verified red->green on posix and decomposed: red on an opencloud built on a reva
with the change reverted (the archive is "download.zip"), green on the shipped
reva.
2026-07-17 16:37:36 +02:00
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Saw-jan 29b9f9b07d test: fix COPY to mountpoint tests 2024-08-22 14:52:27 +05:45
Saw-jan d45efeacca test: fix archive tests 2024-08-22 14:52:27 +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
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
Salipa Gurung 6696d5c226 change given step using SharingNG for share in downloadBypath file (#8990) 2024-04-29 14:28:01 +05:45
Salipa Gurung f26de59b3a change given step using SharingNG for share (#8965) 2024-04-25 18:46:05 +05:45
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
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
amrita 56a64b98ee Remove tag skipOnOcV10 2023-05-04 12:42:14 +05:45
Viktor Scharf 5c2a011519 [test-only] add issue tag to failed tests (#5978)
* add issue tag to failed tests

* bump webCommit
2023-03-31 11:38:15 +02:00
amrita 838957c641 Refactor expected-failure-file and closed issue related scenario 2022-09-28 11:25:35 +05:45
jkoberg f6739402ec add /home/ tests to expected failures
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-01-10 16:00:26 +01:00
Phil Davis 36ccb6af17 Merge pull request #2769 from owncloud/archivesRessourcePaths
[tests-only] use archiver endpoint with path
2021-11-15 21:54:52 +05:45
Artur Neumann f7847be028 [tests-only] fix archiver tests expectations 2021-11-15 16:20:53 +05:45
Artur Neumann bfd7496230 [tests-only] use archiver endpoint with path 2021-11-15 16:18:10 +05:45
Artur Neumann 67441a7877 [tests-only] test archiver endpoint with shares 2021-11-11 14:39:22 +05:45
Artur Neumann f056d6c79e [tests-only] test downloading a file as not owner 2021-11-11 13:33:21 +05:45
Artur Neumann 021fa50e9d [tests-only] test downloading multiple items with archiver 2021-11-11 12:06:46 +05:45
Artur Neumann 701da23141 test zip archive download 2021-11-10 13:54:49 +05:45
Artur Neumann c97cbf9b98 test downloading a folder 2021-11-09 15:04:05 +05:45
Artur Neumann 13098d9f32 API tests for archiver endpoint (single file) 2021-11-09 14:13:26 +05:45