Commit Graph
49 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
Viktor Scharf 67d63d608e tests: remove unused tags, run the search properties scenarios as expected failures (#4142)
* tests: remove unused tags from the acceptance tests

Remove the tags that neither the CI of opencloud nor the one of reva
filters on, and that no hook uses: @smokeTest, @skipOnStorage:ceph,
@skipOnStorage:scality, @skipOnOpencloud-decomposeds3-Storage (the CI only
runs posix and decomposed), @sqliteDB, @notification and @skip-local-run.
A tag line left empty becomes an empty line, so that the line numbers of
the scenarios, which the expected failures of opencloud and reva refer to,
stay the same.

Also fix the typo @@skipOnReva, and write the issue tags the same way:
@issues-<n> becomes @issue-<n>, @web-issue-<n> becomes @issue-web-<n>.

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

* tests: run the search properties scenarios as expected failures

The two scenarios that check the properties of search results were
skipped, since the search REPORT returns an empty d:getetag (#3501) and
the step retried the whole check for 20 seconds, which made them too slow
as expected failures.

- retry the search only until the entry is indexed, then check its
  properties once: once found, the entry is complete, so a wrong value
  fails right away
- check what the search returns: d:getcontentlength for files, the real
  size of 12 bytes, a file id of the form <uuid>$<uuid>!<uuid>, anchored
  patterns, and no oc:owner-id and oc:owner-display-name, which the
  search response never contains
- list them as expected failures of #3501 instead of skipping them

Without the d:getetag check, both scenarios pass.

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

* lint fix
2026-11-27 08:01:41 +00: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 327e6260ff tests: error handling
tests: remove unnecessary logs
2024-11-22 16:01:58 +05:45
Prajwol Amatya 0add18fc9a remove @provisioning_api-app-required tag 2024-11-22 12:39:40 +05:45
Saw-jan 7c1c9ddacc test: add tests to check file uploads with same mtime 2024-11-21 10:04:31 +05:45
Prajwol Amatya 9d6bd35bb5 extend dav paths versions 2024-11-19 13:05:34 +05:45
Prajwol Amatya 33a99d6de3 extend webdav tests for old, new and spaces path 2024-11-19 09:07:45 +05:45
Sabin d7b237eee2 updated feature file to remove trailing slash for folder propfind request 2024-11-13 09:53:49 +05:45
Saw-jan 766ad4b40c ci: make remote.php default
docs: add documentation

test: rename uniquePath to suffixPath
2024-10-21 17:08:25 +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 0bbbd76156 test: fix trashbin delete tests 2024-08-13 12:05:44 +05:45
Saw-jan 1784577fe7 test: fix issue numbers 2024-08-13 12:05:44 +05:45
Saw-jan d8c74a30a2 test: update tests related to issue-1124
test: fix tests and issue tags
2024-08-01 16:50:47 +05:45
Saw-jan 5fabf09451 test: fix MOVE within Shares tests 2024-07-24 11:35:45 +05:45
Saw-jan 3883e17b52 test: ensure share is available 2024-07-24 11:35:45 +05:45
amrita e3195eed24 remove reve master tag 2024-07-08 14:48:40 +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
Sabin Panta 83374e5c65 adding skip tag (#9200) 2024-05-24 11:34:51 +05:45
Prarup Gurung c627b940b9 trashbinSharingToShares.feature: Used sharingNG for sharing in given step 2024-05-21 12:33:34 +05:45
Prarup Gurung e144de86af trashbinFilesFolders.feature: Used sharingNG for sharing in given step 2024-05-21 12:33:34 +05:45
Sawjan Gurung 4177f43cdb [tests-only] extend delete API tests (#9121)
* test: add delete special file tests

* test: add delete special file tests
2024-05-13 14:47:53 +02:00
Sawjan Gurung 2f32fa3e36 [tests-only] do not try to delete already deleted groups (#8886)
* fix(test): do not try to delete already deleted groups

* test: remove redundant steps

* test: fix php code style

* fix typo
2024-04-18 17:28:38 +05:45
Prarup Gurung ba7d91ebce Used kebab case for example table header name 2024-03-21 09:06:38 +05:45
Sawjan Gurung 8eb7f7aa96 [tests-only] skip sharing tests in reva (#7591)
* do not use spacesContext

* skip sharing tests in reva

* update expected failure list

* do not cleanup status codes

* skip shares tests in reva

* update expected failure list
2023-10-27 12:37:09 +05:45
Viktor Scharf 4e27005e68 skip tests moving between shares jail 2023-10-20 16:12:51 +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
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Sabin Panta f2498e1fdf Refactoring example table scenerio (#6697) 2023-07-12 12:42:32 +05:45
Prajwol Amatya 941ef59cc9 refactor scenario example table (#6694) 2023-07-04 15:54:16 +05:45
prajwol edc8e96469 refactored feature files 2023-06-08 14:59:03 +05:45
Prarup Gurung d31f544a9f [full-ci] [tests-only] Removed tag personalSpace, and refactored the example tables (#6250)
* Refactored personalSpace tagged scenarios

* Fixed line numbers in expected failure
2023-05-25 17:50:00 +05:45
Phil Davis e57c20bb28 Remove trashbinFilesFolders examples for unsupported usernames 2023-05-11 12:51:57 +05:45
Phil Davis d127954df4 Merge pull request #6247 from owncloud/remove-skiponldap-tag
[tests-only][full-ci]Remove skipOnLDAP tag
2023-05-08 13:49:11 +05:45
amrita 0bf6a110f6 Remove skipOnLDAP tag 2023-05-08 09:33:53 +05:45
Prarup Gurung e208b3018a Removed step and implementation of setting share auto accept 2023-05-08 09:01:54 +05:45
amrita 484f333c61 Remove unneccessary tag 2023-05-04 14:39:50 +05:45
amrita 1317eea31c Remove files-trashbin-app tag 2023-05-04 12:42:14 +05:45
amrita 73c327bdf0 Remove file sharing app 2023-05-04 12:42:14 +05:45
amrita 56a64b98ee Remove tag skipOnOcV10 2023-05-04 12:42:14 +05:45
amrita a34c6c42a8 Remove tag skipOnOcis notToImplementOnOCIS oImplementOnOCIS comments-app-required federation-app-required notifications-app-required systemtags-app-required local_storage 2023-05-04 12:42:14 +05:45
Prarup Gurung f3bf0894fc Removed core issue tag, refactored ocis-reva, ocis issue tag 2023-03-31 17:27:18 +05:45
Prarup Gurung 77a9be8425 Removed occ invoking command steps 2023-02-24 10:32:45 +05:45
Prarup Gurung 3419eacb6d Removed step and implementation setting default share folder 2023-02-23 15:32:27 +05:45
Prarup Gurung 8b6df0d729 Removed scenarios tagged with @skipOnOcis tag 2023-02-21 15:10:42 +05:45
Prarup Gurung 984f848cbd Removed scenarios tagged with notToImplementOnOcis tag 2023-02-15 09:05:07 +05:45
Prarup Gurung 3f2e1ce516 Removed core bug demonstration scenarios 2023-02-01 16:14:06 +05:45
Saw-jan c59392bc1e copy feature files from core 2023-01-05 09:22:52 +05:45