Sawjan Gurung
bfe04776fb
[tests-only] Fix share creation methods ( #7400 ) ( #7425 )
...
fix steps
add method to create folder
strict check for successful request
fix steps
2023-10-06 17:11:31 +05:45
Karun Atreya
9cee6bcbcd
[tests-only] removing the setresponse in given/when/then step in webdavproperties context ( #7368 )
...
* refactor given and when steps in webdavproperties context
* change the status code in tests as the when step sets the response now
* correct the status code check
* only save response
* use getResponseXml to get xml response object
* fix isEtagValid method
* rename step def methods
* make stricter checks
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com >
2023-10-05 17:07:33 +05:45
Karun Atreya
f2f3f546b4
refactor setting response in given/when/then steps in ocs and webdavlocking context ( #7413 )
...
refactor given and when steps in ocs and webdav locking context
use the returned response
use of returned response from helper function
made changes to the affected test steps
deleted vardump line
2023-10-05 16:56:31 +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
Sagar Gurung
dea726af84
[tests-only][full-ci]Backport move byfileid ( #7402 )
...
* Added test for move and rename by file-id
* Review Address
2023-10-04 16:30:13 +05:45
Sagar Gurung
93521e5f55
Added test for the copy with file-id in url ( #7364 )
2023-09-27 12:30:04 +05:45
Karun Atreya
fa36fd4ec2
refacor given when and then steps in checksum and favorite context ( #7268 )
...
making helper function, checking and setting response in given step and when steo respectively
returning response and using in given/then steps as required in favoritesContext
set the returned response on SpaceContext
changed to inline variable in some lines as required
to check for the specific https response code
2023-09-13 16:25:00 +05:45
Karun Atreya
71daf3f6ba
refactor given when then steps in fileversions context ( #7269 )
...
migrating set response from helper function to when step in preview feature
separate single when/then steps by converting to helper function
use of httpstatuscode check function in given step and rebased
change function name
remove use of setresponse in then step
set the returned response
2023-09-13 16:24:42 +05:45
Prajwol Amatya
620b44c90a
send X-Request-Id in header of every request ( #7238 )
2023-09-07 10:33:44 +05:45
Sagar Gurung
117b990d5a
Make test code better for CI ( #7193 )
2023-09-01 18:39:29 +05:45
Prajwol Amatya
84bc7d88e2
added tests for reading content of a file by fileId using WebDav API ( #6958 )
2023-08-18 09:58:25 +05:45
Prajwol Amatya
db098fa4f5
refactored acceptance test code to store response data related to public shares on single store ( #6930 )
2023-08-03 13:51:22 +05:45
Amrita
6900a80511
Add more tests coverage ( #6854 )
2023-07-25 12:27:42 +05:45
Salipa-Gurung
926e547f99
add test for downloading space
2023-07-25 12:24:26 +05:45
Viktor Scharf
f6e8d3ee84
[test-only] apiTest. check parentId in the Propfind response ( #6759 )
...
* check parentId in the Propfind response
* split test
2023-07-12 09:12:34 +02:00
Viktor Scharf
3009ea192f
[test-only] Api test. Checking X-Request-Id in response header ( #6765 )
...
* check X-Request-Id in response header
* style
2023-07-12 09:11:55 +02:00
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
0b67887e29
implement DRY principle ( #6553 )
2023-06-28 10:56:08 +05:45
Viktor Scharf
753c8f2372
[full-ci][tests-only] Check id file owner in response ( #6627 )
...
* check owner as spaceId in sharing response
* fix after review
2023-06-27 12:50:10 +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
Nalem7
cb16fd5843
[tests-only][full-ci]add test for antivirus user group sharing ( #6463 )
...
* add test for antivirus user and group share
* added test for 3 file
* deduct of one file
---------
Co-authored-by: nabim777 <“nabinalemagar019@gmail.com ”>
2023-06-12 17:12:01 +05:45
Amrita
c750d6677a
Add tests for space notification ( #6372 )
2023-06-08 16:59:45 +05:45
Phil Davis
3c99877129
adjust compare oc:tags lists
2023-06-08 13:14:24 +05:45
Sagar Gurung
b18ac5d46b
Use triats in correct way ( #6430 )
2023-06-02 14:36:05 +05:45
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
573ee3d071
remove checking for empty value
2023-05-15 15:06:46 +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
Phil Davis
9b9d88e7d6
Cleanup acceptance tests ( #6195 )
2023-05-02 17:25:56 +05:45
Phil Davis
7fb93058cf
tidy up acceptance tests
2023-04-21 14:59:50 +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
16f8c49de9
[tests-only][full-ci]Forwardport json drill apispacesshares ( #5965 )
...
* Replace the key and value paris step with the current json assertion step
* Fix red CI for undefined step
---------
Co-authored-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
2023-04-03 09:46:01 +05:45
Artur Neumann
0492fb040d
[tests-only] fix not optional parameter after optional ( #5981 )
2023-03-31 21:23:01 +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
Swikriti Tripathi
173850a35c
[tests-only][full-ci] Add tests for checking the end of expiration date ( #5819 )
...
* Add tests to check the end of an expiration date
* fix style
* fix style
* enable group share test
* skip group share test on ocis
2023-03-15 09:27:45 +05:45
Swikriti Tripathi
b445f847e8
Refactor test for updating the share ( #5789 )
2023-03-11 12:47:31 +05:45
Swikriti Tripathi
0087770191
Api tests for deleting the expiration date of a space ( #5606 )
2023-02-22 16:50:38 +05:45
Viktor Scharf
5a5e950cca
[test-only] increase coverage test for creating space ( #5616 )
2023-02-22 14:54:19 +05:45
Swikriti Tripathi
77e9d4f920
App tests for updating the exoiration date of a space ( #5605 )
2023-02-22 09:21:57 +05:45
Viktor Scharf
1730538836
[test-only][full-ci] ApiTest. share space with expiration date ( #5562 )
2023-02-17 14:03:53 +05:45
Viktor Scharf
3e3d3f9de2
[test-only] ApiTest. get users of members of several groups ( #5575 )
...
* get users with group filter
* fix test
2023-02-16 16:34:13 +01:00
Swikriti Tripathi
0f31ed196a
fix flaky test apiSpacesShares/shareSpaces.feature:42 ( #5545 )
2023-02-10 11:45:07 +01:00
Viktor Scharf
f2f64fdcae
fix flaky
2023-02-09 23:31:08 +01:00
Viktor Scharf
67ac275ace
[test-only] Fix failed test ( #5541 )
...
* fix failed test
* another way fixing
2023-02-09 16:58:39 +01:00
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
Viktor Scharf
abc1a446ca
[test-only] ApiTests. check group in the space request ( #5492 )
...
* check response
* fix test
2023-02-07 11:53:14 +01:00
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
Viktor Scharf
486453b4c9
create share with expirate date. refactoring code ( #5424 )
2023-02-01 09:55:51 +01:00