Commit Graph

166 Commits

Author SHA1 Message Date
prajwol
45fb09f167 added test for previewing shared resource inside project space 2023-10-26 15:07:30 +05:45
Karun Atreya
f63d9cf275 refactor given/when/then steps in spaces context (#7506)
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 14:27:50 +05:45
KarunAtreya
a6964c2d3d refactor publicwebdav context removing setresponse in given/then steps
refactored given steps

refactored some when stepa

refactored remaining when and then steps

use of when step for the action

changed line no in expected failure

remove and add same kind of steps in the scenario and refactored function names

adressing reviews
2023-10-16 09:30:25 +05:45
Sawjan Gurung
de42e3e109 [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-05 09:56:01 +05:45
nabim777
4cd05c8d06 move files in apiFullTextSearch 2023-09-01 16:49:47 +05:45
Swikriti Tripathi
3fb6b94698 Fix the test step ordering 2023-08-22 16:23:17 +05:45
Karun Atreya
997187226f added scenario for searching inside folder in shares (#6982) 2023-08-16 12:41:55 +05:45
nirajacharya2
5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
KarunAtreya
2238806060 added test scenario for searching inside folder in space 2023-08-08 09:43:53 +05:45
Swikriti Tripathi
389877e56d Remove skipOnStable2.0 tag (#6959) 2023-08-03 23:06:30 +02:00
Karun Atreya
c5fbd6f539 move resharing.feature from apiSpaces to apiReshare (#6936) 2023-08-02 15:03:42 +05:45
Saw-jan
57c78b0a19 skip new behavior tests for reva-master 2023-07-31 12:57:00 +05:45
Saw-jan
a2ee62bde1 adjust tests expectation 2023-07-31 12:57:00 +05:45
Amrita
6900a80511 Add more tests coverage (#6854) 2023-07-25 12:27:42 +05:45
amrita
1138412aff Add hidden file also 2023-07-25 12:24:36 +05:45
Salipa-Gurung
926e547f99 add test for downloading space 2023-07-25 12:24:26 +05:45
Viktor Scharf
873732fbb1 [test-only][full-ci]ApiTests. purge trash bin tests (#6699)
* purge trash bin tests

* fix
2023-07-04 14:43:00 +02:00
Prajwol Amatya
941ef59cc9 refactor scenario example table (#6694) 2023-07-04 15:54:16 +05:45
Viktor Scharf
5867dae18f using Graph instead Of Setting Method In Tests 2023-06-15 17:03:53 +02:00
Sagar Gurung
6540865d50 [tests-only][full-ci]Added scenarios for quota exceed with API (#6450)
* Added scenarios for quota exceed with API

* Review Address

* changed code

* review-address: check for space not exists

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-06-15 11:50:38 +05:45
Amrita
c750d6677a Add tests for space notification (#6372) 2023-06-08 16:59:45 +05:45
Phil Davis
0e2055bd46 Add test scenario that adds multiple tags 2023-06-08 11:43:53 +05:45
Phil Davis
d3bee89341 Test comma-separated list of tags 2023-06-08 11:43:53 +05:45
Michael Barz
04e1b947f9 Merge pull request #6456 from owncloud/release-3.0.0
[full-ci] Release 3.0.0
2023-06-07 08:22:11 +02:00
Michael Barz
d5dcaaa7b4 fix test expectations 2023-06-06 16:03:43 +02:00
Sagar Gurung
7bac14d61c [tests-only][full-ci]Add step to set quota with env OCIS_SPACES_MAX_QUOTA (#6402)
* Add step to set ocis max spaces quota with env

* Add env-config tag to scenario for ocis roll back

* Fix red CI and and test for spaces

* Review address

* Reuse step for single env

* Remove doubtful scenario
2023-06-06 11:57:04 +05:45
jkoberg
a2aa55a4dd adjust expected failures
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-05-25 15:52:04 +02:00
Viktor Scharf
76b0e744a7 [tests-only] Api tests for checking conflict status code while creating folder (#6389)
* add tests for checking conflict status code while creating folder

* fix after review
2023-05-25 14:47:32 +02:00
Viktor Scharf
d271a19459 upload file after renaming 2023-05-25 07:41:07 +02:00
Viktor Scharf
36d7e77baa [test-only][full-ci] Api tests. get notification on different languages (#6254)
* get notification on different languages

* set default english if no configured

* fix

* fix after review

* fix after rebase

* after review
2023-05-17 10:00:47 +02:00
André Duffeck
5ba7dad3c7 Fix test expectations 2023-05-12 10:37: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
Michael Barz
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
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
Viktor Scharf
5c2a011519 [test-only] add issue tag to failed tests (#5978)
* add issue tag to failed tests

* bump webCommit
2023-03-31 11:38:15 +02:00
Viktor Scharf
e3c5466e69 [api-test] first notification test (#5958)
* notification test

* fix after review

* fix lint
2023-03-31 09:42:58 +02:00
Swikriti Tripathi
270bf06840 add skip on stable tag (#5940) 2023-03-28 15:11:41 +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
Prajwol Amatya
27fa742b4a api test to set quota by users with different roles (#5854) 2023-03-27 10:41:55 +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
Viktor Scharf
1730538836 [test-only][full-ci] ApiTest. share space with expiration date (#5562) 2023-02-17 14:03:53 +05:45
Roshan Lamichhane
19e1d63dab forward-port of relative quota amount of personal space tests from stable-2.0 (#5524) 2023-02-07 16:55:26 +05:45