Commit Graph

32 Commits

Author SHA1 Message Date
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
Karun Atreya
83971fa19a [tests-only] [full-ci] removing the setresponse in given/then step in spaces context (#7496)
* refactor given/when/then steps in spaces context

* pass the returned response without setting in then step

* added the missing when step whose response is checked by the then step

* addressed the reviews

* changed from decoded body to docoded response
2023-10-17 11:41:47 +05:45
Sawjan Gurung
c59b597984 [tests-only] Run tests with default propfind depth infinity config (#7334)
* use default config for OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY

* remove unnecessary steps

* use default propfind depth infinity value

* use correct step to check the resources

* use correct step to check the resources

* cover depth:infinity enabled test cases

* fix steps

* fix scenario steps

* update expected failure list

* add depth infinity test suite to ci

* update existing tests only

* remove test with depth:infinity
2023-10-03 09:26:31 +05:45
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
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
Phil Davis
7fb93058cf tidy up acceptance tests 2023-04-21 14:59:50 +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
Sagar Gurung
26c9f889e7 [tests-only][full-ci]Clean up old JSON assertion step (#6013) 2023-04-11 17:09:31 +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
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
1730538836 [test-only][full-ci] ApiTest. share space with expiration date (#5562) 2023-02-17 14:03:53 +05:45
Swikriti Tripathi
6a4ee395bf Adds tests for sending PATCH request to other user's space
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-01-05 07:42:32 +05:45
Swikriti Tripathi
1d51c1ccbd [tests-only][full-ci] Forward port send invalid UUID master (#5321)
* add test

* fix after review

* fix

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-01-04 17:00:59 +05:45
Viktor Scharf
51e88c9fff check urestricted quota 2022-11-30 15:54:46 +01:00
Swikriti Tripathi
0387e15d34 Reuse the core code 2022-09-16 15:40:51 +05:45
Viktor Scharf
d7c406edde add tests changing quota 2022-08-04 13:11:51 +02:00
Viktor Scharf
156d9e9e86 ApiTests. refactoring apiSpace suite (#4121) 2022-07-08 09:03:40 +05:45
Viktor Scharf
bed3d9f53b add test with no restriction quota (#3814) 2022-05-19 11:05:36 +02:00
Viktor Scharf
7cb9ec2a46 apiTests: getting readmi file and spaceImage file 2022-03-30 21:34:41 +02:00
Viktor Scharf
3e2d1582a3 [tests-only] ApiTest: set space image/description to space (#3289)
* add tests: set space image/description to space

* php style fix. add checking that file exists
2022-03-10 09:29:26 +01:00
Michael Barz
af0a5fac18 Create space with description (#3168)
* send description during create space

* add changelog

* update reva

* add to API test

* only use opaque if not nil

* use forked xattr to fix windows build

Signed-off-by: Michael Barz <mbarz@owncloud.com>
2022-02-15 14:18:27 +01:00
Phil Davis
b7fc7ee990 Reword Spaces API scenario descriptions 2021-12-21 13:55:59 +05:45
ScharfViktor
a531db28fb add test share space 2021-12-20 17:48:35 +01:00
Michael Barz
7c2e70f8b6 fix api tests 2021-12-12 17:34:04 +01:00
ScharfViktor
216a62cf2e add Given form for steps 2021-12-02 00:01:52 +01:00
ScharfViktor
f5c763cbec add tests change space 2021-11-23 19:51:15 +01:00