Commit Graph
55 Commits
Author SHA1 Message Date
v.scharf 81a71f4eb1 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
2026-11-27 14:31:23 +01:00
Viktor Scharf bc6f016323 api-test: check PROPFIND/REPORT has-preview (#3714) 2026-10-14 09:29:38 +02:00
Viktor Scharf a2401040a0 api-test: check that report contains favorites (#2531) 2026-03-30 16:28:13 +02:00
Viktor Scharf 44ee182aa3 apiTest-coverage for #1523 (#1660)
* apiTest-coverage for #1523

* check propfind contans correct files name

* bump reva for getting #381
2025-10-24 09:45:03 +02:00
Viktor Scharf 2fba3c5cdd check thumbnails in the share with me response (#1605)
* check thumbnails in the share with me response

* check preview in report response
2025-10-07 07:43:46 +02:00
Viktor Scharf 129fb1e62d [full-ci] ApiTest. checking private link in report response (#993)
* checking private link in report response

* correct expected failures file
2025-06-05 10:41:16 +02:00
Viktor Scharf c49915066c enable search tests 2025-02-14 09:26:32 +01:00
Viktor Scharf 5bdea318c2 delete issue link from feature files 2025-02-04 15:58:28 +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
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 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
Saw-jan 878c5f4075 test: ensure share is available before performing actions
test: fix expected-failure lines
2024-07-26 15:19:33 +05:45
Viktor Scharf 0330b7e48b check secure view permissions in the Report response 2024-07-23 09:27:00 +02:00
ishabaral 5b566e2b43 add remote item id to search report tests scenario 2024-07-11 09:58:47 +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
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 2a4b56b6b8 use sharingNG in given step for sharing in sharesReport 2024-05-03 12:02:00 +05:45
Sabin Panta 5e449f8a67 changing given step of creating share in feature file (#9023) 2024-05-02 14:52:18 +05:45
Sabin 070cccf609 change given step from ocs to graph 2024-04-30 12:32:41 +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
Saw-jan 2bc7b842ac test(api): adjust test expectation 2024-03-20 09:47:49 +05:45
Prarup Gurung 3055d5912a Used kebab case for example table header name 2024-03-19 10:05:49 +05:45
Prarup Gurung d48ea766ea Refactored step to use depth for propfind 2024-03-13 15:00:47 +05:45
Saw-jan e1101940dc fix cors tests 2024-01-23 12:40:13 +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
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
Florian Schade 844783b6f9 [full-ci] - use KQL as default search query language (#7212)
* enhancement: use kql as default search query language

* enhancement: add support for unicode search queries

* fix: escape bleve field query whitespace

* fix: search related acceptance tests

* enhancement: remove legacy search query language

* enhancement: add support for kql dateTime restriction node types

* chore: bump web to v8.0.0-alpha.2

* fix: failing search api test

* enhancement: search bleve query compiler use DateRangeQuery as DateTimeNode counterpart

* enhancement: support for colon operators in dateTime kql queries
2023-09-07 11:13:33 +02:00
Prajwol Amatya 0aa41d90c1 send X-Request-Id in header of every request (#7085) 2023-09-06 16:07:53 +05:45
Sagar Gurung 76d6f12657 Make test code better for CI (#7190) 2023-09-01 16:42:35 +05:45
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Viktor Scharf f6e8d3ee84 [test-only] apiTest. check parentId in the Propfind response (#6759)
* check parentId in the Propfind response

* split test
2023-07-12 09:12:34 +02:00
Viktor Scharf 3009ea192f [test-only] Api test. Checking X-Request-Id in response header (#6765)
* check X-Request-Id in response header

* style
2023-07-12 09:11:55 +02:00
Sabin Panta f2498e1fdf Refactoring example table scenerio (#6697) 2023-07-12 12:42:32 +05:45
Michael Barz 0a2254643b Adjust the test expectations 2023-06-26 17:55:03 +02:00
Swikriti Tripathi 198c3e52b5 Add tests for checking response of REPORT request in project spaces (#6609) 2023-06-26 10:49:44 +05:45
Viktor Scharf 5867dae18f using Graph instead Of Setting Method In Tests 2023-06-15 17:03:53 +02:00
Michael Barz 79aafdae04 change test expectations 2023-05-15 14:25:50 +02:00
amrita 56a64b98ee Remove tag skipOnOcV10 2023-05-04 12:42:14 +05:45
Swikriti Tripathi 7db5b86bd4 Refactor the syntax of the scenarios in local API tests 2023-04-20 15:32:15 +05:45
Sagar Gurung 5db4656d62 Added test to search when share is no accepted yet. (#6043) 2023-04-18 16:46:11 +05:45
Michael BarzandViktor Scharf f80cc175fd [full-ci] Do not share versions (#5531)
* change test expectations

* bump reva  version

* add changelog

* fix test

* php style fix

* bump webCommit. fixt contarct tests

* change webBranch

* change webBranch

* new web commit

* fix flaky draw.io file

* fix after review

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-04-06 12:52:38 +02:00
Viktor Scharf 1730538836 [test-only][full-ci] ApiTest. share space with expiration date (#5562) 2023-02-17 14:03:53 +05:45
Viktor Scharf 486453b4c9 create share with expirate date. refactoring code (#5424) 2023-02-01 09:55:51 +01:00
Roshan Lamichhane 5859f6c018 Forward-port search/report response test scenarios for share space 2023-01-30 14:19:31 +05:45
Viktor Scharf 1ff8665b78 fix after review 2023-01-05 12:15:56 +05:45
Viktor Scharf e05dc0e57e add test 2023-01-05 12:14:25 +05:45
sagargurung1001@gmail.com 9a86777df6 Rebase and review address 2022-12-29 15:38:17 +05:45