Commit Graph

21 Commits

Author SHA1 Message Date
Ralf Haferkamp
99d80f30a9 fix: Status codes for Space Disable/Delete
Allow a "permission denied error" from reva to bubble up to the client.
Reva was fixed to return "permission denied" only when the space to be
delete can actually be listed by the user. Other wise it will return
"not found". See reva commit 1bf72cb76394671f373e87f15f23f978cf41ab08.

So when a user with the 'can manage' role tries to purge an already
disabled space it will now get "Forbidden" status instead of a "Not
found".

Also fixes the expected status codes in the tests.
2026-06-22 11:06:26 +02: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
prashant-gurung899
8821017a77 lint the gherkin feature files
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-06-12 10:13:01 +05:45
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
nirajacharya2
5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Swikriti Tripathi
389877e56d Remove skipOnStable2.0 tag (#6959) 2023-08-03 23:06:30 +02:00
Viktor Scharf
5867dae18f using Graph instead Of Setting Method In Tests 2023-06-15 17:03:53 +02:00
Roman Perekhod
5fbee63f09 fix tests 2023-05-08 16:13:52 +02:00
Roman Perekhod
d69decdafe fix Graph delete request leaks existence of space #5031 2023-05-08 16:13:52 +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
Prajwol Amatya
7baac4f050 [tests-only][full-ci] Api test for user trying to set own personal space quota (#5979)
* api test for user trying to set their own personal space quota

* removed duplicate scenarios for set quota

* updated expected scenario

* fix wrong status code

* updated expected failure scenario after wrong status code fix

---------

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2023-04-04 12:41:34 +05:45
Swikriti Tripathi
270bf06840 add skip on stable tag (#5940) 2023-03-28 15:11:41 +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
a6e8408839 [test-only]ApiTest. tests for spaceManagement (#5462)
* tests for spaceManagement

* put tests to expected failures

* Empty-Commit
2023-02-06 23:48:30 +01:00