Commit Graph
48 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
Viktor Scharf 6218d36118 refactor(ci): simplify tests pipelines (#2699)
* refactor(ci): simplify tests pipelines

* fix
2026-04-30 14:09:09 +02:00
André Duffeck 5aed50e835 Adjust quota test to fixed behavior
We now report a quota of -3 for unlimited quota instead of 0, which
clients interpreted as a quota of 0.
2026-04-14 12:30:16 +02:00
Ralf Haferkamp c33850f213 Reapply "adapt test for #514 (#2255)" (#2305)
This reverts commit f21207ed96.
2026-02-09 14:23:24 +01:00
Ralf Haferkamp f21207ed96 Revert "adapt test for #514 (#2255)"
This reverts commit 400dc9f8ae.
2026-02-05 10:33:26 +01:00
Viktor Scharf 400dc9f8ae adapt test for #514 (#2255) 2026-02-03 19:51:33 +01:00
Viktor Scharf 567e8a7e8c api-test: upload-rename-download file with back slash (#2239) 2026-02-02 07:59:51 +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 9db4693a9e rebranding tests 2025-01-16 17:39:02 +01:00
Saw-jan 66f4204b09 test: update issue tags 2024-12-09 17:33:02 +05:45
Saw-jan bedddc4728 tests: fix tests 2024-12-09 14:52:23 +05:45
Saw-jan bc9c9fe58f test: skip sharing tests on reva 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
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
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 f5edb57d33 test: fix tests and issue number 2024-08-13 12:05:44 +05:45
Saw-jan 05e6a435a2 test: fix COPY to mountpoint tests
test: adjust COPY file test
2024-08-12 14:30:16 +05:45
Sabin c1f45fc1e0 add test cases for copying file when shared with secure viewer 2024-08-09 17:00:25 +05:45
Sabin 746acf96ea updated expected failures file 2024-08-09 09:56:04 +05:45
Sabin 9cec94f936 extending test cases for copying file when shared with secure viewer role 2024-08-09 09:56:03 +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
Saw-jan 558bbcc6ae test: fix COPY tests 2024-08-05 14:46:49 +05:45
Saw-jan 62c024bc66 test: fix custom properties tests 2024-08-05 14:46:49 +05:45
Saw-jan f976386ee2 test: fix tests and issue tags
test: fix properties namespace
2024-08-02 09:31:26 +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 3883e17b52 test: ensure share is available 2024-07-24 11:35:45 +05:45
Roman Perekhod 95de8f584b [full-ci] skip the file name validation if nodeid used 2024-07-17 18:19:05 +02:00
Prarup Gurung 9178be1b05 Extended the tests to cover file for profind resource by sharer 2024-07-09 16:06:17 +05:45
amrita e3195eed24 remove reve master tag 2024-07-08 14:48:40 +05:45
Roman Perekhod 572b32075e adapt test 2024-07-08 09:24:35 +02:00
Christian Richter 7babaf634b adapt test
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-08 09:24:35 +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 83374e5c65 adding skip tag (#9200) 2024-05-24 11:34:51 +05:45
Prarup Gurung 0abf2e7641 setFileProperties.feature: Used sharingNG for sharing in given step 2024-05-21 11:59:22 +05:45
Prarup Gurung df69bc68f6 getQuota.feature: Used sharingNG for sharing in given step 2024-05-21 10:04:00 +05:45
Prarup Gurung 7cb64e312a getFileProperties.feature: Used sharingNG for sharing in given step 2024-05-21 10:03:59 +05:45
Prarup Gurung 6d9970ff99 createFileFolderWhenSharesExist.feature: Used sharingNG for sharing in given step 2024-05-21 10:03:59 +05:45
Prarup Gurung c6b225eddb copyFile.feature: Used sharingNG for sharing in given step 2024-05-21 10:03:58 +05:45
Sawjan Gurung 590a40d979 [tests-only] add file/folder creation and list sharedByMe of link shares (#9150)
* test: add more edge-case tests for file/folder creation

* test: add list sharedByMe tests for link shares

* test: fix tests

* test: list sharedByMe of drive link share

* test: add issue tag

* test: split scenario
2024-05-17 14:19:53 +05:45
Sawjan Gurung b4e991bf63 [tests-only] extend group sharing and MOVE api tests (#9083)
* test: add more COPY/MOVE tests

* test: add sharing to group edgecase tests

* test: new line

* test: fix typo

* test: update expected failure
2024-05-07 12:26:59 +05:45
Prarup Gurung ba7d91ebce Used kebab case for example table header name 2024-03-21 09:06:38 +05:45
Sabin Panta be8973def1 [tests-only][full-ci] adding user quota using graph api instead of Provisioning api (#7000)
* refactored getQuota scenario

* deleted quota step inside provisioning file

* updating feature file of quota as per graphapi

* updated expected failures file

* updated expected failures file

* removed issue tag
2024-01-24 10:12:42 +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