Commit Graph

171 Commits

Author SHA1 Message Date
Viktor Scharf
eb537987ad [test-only] ApiTest. test for password policy (#7276)
* test for password policy

* test flaky

* renamed envs
2023-09-18 10:21:35 +02:00
Karun Atreya
8d1b2e3343 [tests-only][full-ci] removing the setresponse in given/then step in CheckSumContext and FavoritesContext (#7202)
* 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-11 17:42:27 +05:45
Karun Atreya
dbb666babf [tests-only][full-ci] removing the setresponse in given/then step in FileVersionsContext (#7111)
* 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-11 17:29:28 +05:45
Prajwol Amatya
0aa41d90c1 send X-Request-Id in header of every request (#7085) 2023-09-06 16:07:53 +05:45
Sagar Gurung
76d6f12657 Make test code better for CI (#7190) 2023-09-01 16:42:35 +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
Viktor Scharf
7c9452768e [test-only] ApiTest. create tag (#5391)
* create tag

* split method

* fix after review
2023-01-17 12:41:56 +01:00
Viktor Scharf
9bdd1e9ce9 [test-only] apiTest. Delete group from the space (#5365)
* add test

* add empty line
2023-01-10 12:03:52 +01:00
Swikriti Tripathi
03139c3ac2 get resource id as public 2023-01-05 12:58:17 +05:45
Swikriti Tripathi
ea9bf8d80b adress review 2023-01-05 12:58:17 +05:45
Swikriti Tripathi
d058278f44 fex style 2023-01-05 12:58:17 +05:45