Commit Graph

182 Commits

Author SHA1 Message Date
Salipa Gurung
b2edca2619 [tests-only] [full-ci] Use sharingNG in remaining feature file of apiSpaces folder (#9122)
* update given step using sharingNg in restoreSpaces.feature

* update given step using sharingNg in setQuota.feature

* update given step using sharingNg in tag.feature

* update given step using sharingNg in trashBin.feature

* update given step using sharingNg in tusUpload.feature

* update given step using sharingNg in uploadSpaces.feature
2024-05-13 16:15:12 +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 Scharf
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
Prarup Gurung
d48ea766ea Refactored step to use depth for propfind 2024-03-13 15:00:47 +05:45
Sawjan Gurung
3cea035d6d [tests-only] use new json schema assertion lib that supports latest schema drafts (#8503)
* test(api): use new json schema assertion lib that supports latest schema drafts

* test(api): fix json schema

* test(api): fix method call

* test(api): update expected failure lines

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): make json array validation strict

* test(api): fix php code style

* test(api): update expected failure lines
2024-02-23 16:24:22 +05:45
nirajacharya2
4592d06c2b fixing incorrect json format for json assertion steps (#8265) 2024-01-24 09:57:19 +05:45
Sawjan Gurung
cb0090e840 extend test coverage for replacing file with zero-byte file (tus upload) (#8105) 2024-01-22 20:01:10 +05:45
Viktor Scharf
91ae5172f6 [full-ci]Enforce pass by default. changed api tests (#7706)
* set enforce pass by default. change tests

* fix tests

* fix test
2023-11-13 23:37:12 +01:00
Swikriti Tripathi
861e32eadb [tests-only][full-ci]Move lock related tests to new suites (#7645)
* Move lock related tests to new suites

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

* update expected to fail file

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>

---------

Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-11-02 12:31:19 +05:45
Viktor Scharf
dfc55c39ef [test-only] Add more lock test (#7624)
* add more lock test

* Update WebDavLockingContext.php

* fix
2023-11-01 10:47:08 +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
711c86ef3a [test-only] new lock tests (#7595)
* add new lock tests

* fix after review

* Update WebDavLockingContext.php
2023-10-27 14:45:15 +02:00
Prajwol Amatya
2bee588977 added test for previewing shared resource inside project space (#7544) 2023-10-26 12:59:34 +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
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
Karun Atreya
afcdb7617d [tests-only] [full-ci] removing the setresponse in given/then step in publicwebdav context (#7439)
* 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-13 16:59:43 +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
jkoberg
adcfddb7b2 adjust tests
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-31 12:11:43 +02:00
nabim777
93965cce40 move files in apiFullTextSearch 2023-08-31 12:46:46 +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