Commit Graph
41 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 113725794d delete issue message in top of the feature files 2025-02-04 12:37:58 +01:00
prashant-gurung899 f5f30f053b fix typo in then steps
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-12-17 13:04:19 +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 878c5f4075 test: ensure share is available before performing actions
test: fix expected-failure lines
2024-07-26 15:19:33 +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
Salipa Gurung 971f34ac0a [tests-only] [full-ci] Use sharing ng in api spaces (#9082)
* update given step using sharingNg in changeSpaces.feature

* update given step using sharingNg in disableAndDeleteSpaces.feature

* update given step using sharingNg in editPublicLinkOfSpace.feature

* update given step using sharingNg in filePreviews.feature

* update given step using sharingNg in listSpaces.feature

* update given step using sharingNg in publicLink.feature

* update given step using sharingNg in removeSpaceObjects.feature
2024-05-09 14:07:56 +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 fcba2d34a4 Used kebab case for example table header name 2024-03-21 10:04:25 +05:45
nirajacharya2 4592d06c2b fixing incorrect json format for json assertion steps (#8265) 2024-01-24 09:57:19 +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
Swikriti Tripathi c42e5ae6ba [tests-only][full-ci]Adds test for getting share jail space information of the user when user has pending share (#7530)
* Adds test for getting share jail space information of the user when user has a pending share

* fix style and add issue tag

* address reviews
2023-10-20 15:04:07 +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
jkoberg adcfddb7b2 adjust tests
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-31 12:11:43 +02:00
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Viktor Scharf 5867dae18f using Graph instead Of Setting Method In Tests 2023-06-15 17:03:53 +02:00
Michael Barz d5dcaaa7b4 fix test expectations 2023-06-06 16:03:43 +02:00
Amrita 517a177057 [tests-only] [full-ci] Refactor scenario related to checking json response (#6034)
* Separate positive and negative testing in different scenario

* Remove duplicate scenario

* Refactor json step graamer

* Remove unnecessary steps

* Add step to check space disable state
2023-05-04 14:55:11 +02:00
amrita 56a64b98ee Remove tag skipOnOcV10 2023-05-04 12:42:14 +05:45
Swikriti Tripathi 6281d132d8 update grammar 2023-04-20 15:32:16 +05:45
Swikriti Tripathi 7db5b86bd4 Refactor the syntax of the scenarios in local API tests 2023-04-20 15:32:15 +05:45
Amrita 382aa58c8b [tests-only][full-ci]Extend tests coverage for different role capability for spaces (#5853)
* Add tests related to different user role manipulating space

* Review addressed

* Refactor existing scenario
2023-03-28 09:10:21 +05:45
Sagar Gurung 67296caf14 Forward port json drill apispaces (#5818)
* Added json schema for response check in apiSpaces suite

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review Address

* Added schema for space management feature

* Added new schema asper change in master

* fix feature file

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-03-15 10:06:58 +05:45
Viktor Scharf 5a5e950cca [test-only] increase coverage test for creating space (#5616) 2023-02-22 14:54:19 +05:45
Sawjan Gurung 2469af12ac [tests-only][full-ci] Extend API contract tests for GET drives/spaces (#5151)
* do not set response from helper functions

* extend list spaces tests

* fix php code style
2022-12-05 17:42:51 +01:00
Michael Barz d116245ddb reflect shares space rename in tests
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2022-10-21 00:46:02 +02:00
Swikriti Tripathi 0387e15d34 Reuse the core code 2022-09-16 15:40:51 +05:45
Viktor Scharf 156d9e9e86 ApiTests. refactoring apiSpace suite (#4121) 2022-07-08 09:03:40 +05:45
Viktor Scharf 16a99678c3 ApiTest. download files (#3809)
* add tests download file

* added ability to download different versions of files

* fix after review
2022-05-18 11:39:16 +02:00
Michael Barz d04d93bc82 fix list spaces tests 2022-03-28 20:06:45 +02:00
Michael Barz 0773b66325 add space alias config to s3ng and ocis driver 2022-03-16 16:38:32 +01:00
Michael Barz 3a59c7ec4c add driveAlias to the graphAPI 2022-03-16 15:38:40 +01:00
Michael BarzandViktor Scharf 94f3d7562a add Api test for adding space managers (#3166)
* add Api test for adding space managers

* add cheking permissions in response

* fix after rebase

* only personal space dispayes owner

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2022-02-17 11:21:07 +01:00
Michael Barz d3b87fa3a1 fix API tests 2022-02-11 14:56:05 +01:00
Michael Barz e10b524d71 add Tests and Test Steps 2022-01-19 12:15:42 +01:00
Michael BarzandJörn Friedrich Dreyer 16c7706d62 remove redundancy
Co-authored-by: Jörn Friedrich Dreyer <jfd@owncloud.com>
2022-01-16 11:57:57 +01:00
Michael Barz 1db13d8a39 add tests 2022-01-16 11:57:57 +01:00
Phil Davis b7fc7ee990 Reword Spaces API scenario descriptions 2021-12-21 13:55:59 +05:45
ScharfViktor 216a62cf2e add Given form for steps 2021-12-02 00:01:52 +01:00
Michael Barz 7ebf257135 Add user bob 2021-11-09 20:16:05 +01:00
Michael Barz 80c299eb93 Upload a file 2021-11-08 17:08:52 +01:00