Commit Graph
49 Commits
Author SHA1 Message Date
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 4ffb79b680 lint fix 2025-11-06 16:31:21 +01:00
Viktor Scharf a0f90fee1a Sync share before action 2025-11-06 16:31:21 +01:00
Jörn Friedrich Dreyer 116ff2e7b9 update tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-29 15:11:18 +01:00
Viktor Scharf 9db4693a9e rebranding tests 2025-01-16 17:39:02 +01:00
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Prajwol Amatya 33a99d6de3 extend webdav tests for old, new and spaces path 2024-11-19 09:07:45 +05:45
Sabin 471d43a4e6 beautify feature file 2024-11-13 09:57:46 +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 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 3883e17b52 test: ensure share is available 2024-07-24 11:35:45 +05:45
Saw-jan a2fea9bb03 test: fix another test 2024-06-24 18:18:49 +05:45
Prarup Gurung 6578255aca Removed failing ocs scenarios, removed from expected failure 2024-06-20 17:59:49 +05:45
Prarup Gurung 37d8ffcb4b Removed failing ocs scenarios, removed from expected failure 2024-06-20 17:03:35 +05:45
Prarup Gurung 62df492944 Removed failing ocs scenarios, removed from expected failure 2024-06-14 12:53:09 +05:45
Sawjan Gurung fc2318a5ef Merge pull request #9357 from owncloud/remove-ocs-scenarios-3
[full-ci] [tests-only] Removed failing ocs scenarios
2024-06-12 15:47:35 +05:45
Prarup Gurung 20fb2ea2be Removed failing ocs scenarios, removed from expected failure 2024-06-12 12:15:13 +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 6284411edb [tests-only][full-ci]changing given from ocs to graph in feature file (#9142)
* changing given from ocs to graph in feature file

* addressing reviews
2024-05-16 15:34:28 +05:45
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
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 ba7d91ebce Used kebab case for example table header name 2024-03-21 09:06:38 +05:45
Nalem7 d14935ad78 [tests-only][full-ci] Restructure the steps implementation for group delete to use graph API endpoint (#8006)
* remove ocs endpoint from delete group

* remove adminHasDeletedGroupUsingTheGraphApi

* adressing reviews
2024-01-17 15:42:31 +05:45
Sawjan Gurung 0f9f996aba [tests-only] Extend API test coverage for MOVE between spaces (#8113)
* extend API test coverage for MOVE between spaces

* update line numbers
2024-01-03 12:09:59 +01:00
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 a9ddfec182 [test-only] fix tests after auto-accepting enabling (#7527)
* fix test

* fix preview test
2023-10-19 16:29:10 +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
Sabin Panta dc3ed28696 [tests-only][full-ci] refactoring user addition to group to graphapi (#7360)
* changed user addition to group to graphapi

* addressing the review

* addressing review regarding nonexistent user

* addressing the review

* updated expected failures file

* changing code to make it pass in reva edge

* addressing review

* addressing review
2023-10-17 11:34:53 +05:45
Sabin PantaandSaw-jan 5efc3c51a1 [tests-only][full-ci] refactoring user creation Given steps from provisioning into GraphContext (#7019)
* refactored the user creation given statement from provisioning to graph api

added getUser steps that covers the steps for user with user light role

* added userlight step tests to check drive information and updated expected failure files

* added usercreation initiation code

* deleted seperate tests for user light role

* remove unnecesary changes

* add user not initialize step

* corrected the testcode

* moved the steps from graph to provisioning file

* fix creating single ldap user

* fix: user check method

* initialize user via graph

* addressing reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-09-06 09:22:38 +05:45
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Prajwol Amatya 941ef59cc9 refactor scenario example table (#6694) 2023-07-04 15:54:16 +05:45
Sabin Panta 9b4244b086 [tests-only] [full-ci] Refactoring unshare step definition code (#6608)
* added unshare scenerio

* remove unshare keyword from step definition

* refactoring of step definition codes

* refactor
2023-06-30 12:22:42 +05:45
Swikriti Tripathi c969faf8ef Add proper description to a feature file 2023-05-09 10:07:18 +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
Swikriti Tripathi 17826d8ca9 Refactor feature files to add correct description 2023-05-03 10:36:30 +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 aac714be9a Removed method runOcc from FeatureContext, and refactored code 2023-03-15 17:16:54 +05:45
Prarup Gurung 3419eacb6d Removed step and implementation setting default share folder 2023-02-23 15:32:27 +05:45
Prarup Gurung 5a46a19f99 Fixed line numbers in expected failure 2023-02-21 15:13:24 +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
Saw-jan c59392bc1e copy feature files from core 2023-01-05 09:22:52 +05:45