Commit Graph

62 Commits

Author SHA1 Message Date
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
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
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
Swikriti Tripathi
3fb6b94698 Fix the test step ordering 2023-08-22 16:23:17 +05:45
nirajacharya2
5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Swikriti Tripathi
389877e56d Remove skipOnStable2.0 tag (#6959) 2023-08-03 23:06:30 +02:00
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
Swikriti Tripathi
98d6796800 fix the syntax of the test step (#6871) 2023-07-24 14:10:22 +05:45
Prajwol Amatya
941ef59cc9 refactor scenario example table (#6694) 2023-07-04 15:54:16 +05:45
Prarup Gurung
63ba3a5f8a Merge pull request #6635 from owncloud/test/recipient-check-file-version
[tests-only] [full-ci] added different roles for sharee
2023-06-27 17:25:21 +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
Sabin
7b20bde72c added different roles for sharee 2023-06-27 13:16:36 +05:45
jkoberg
7d7ff26a96 update expected failures
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-23 11:32:28 +02:00
Viktor Scharf
5867dae18f using Graph instead Of Setting Method In Tests 2023-06-15 17:03:53 +02:00
Viktor Scharf
4cf0e3d95c last space manager cannot change his role (#6393) 2023-06-12 11:56:55 +02:00
Viktor Scharf
f0d36c58bb fix tests. remove from expected failures 2023-06-05 15:31:14 +02:00
Viktor Scharf
67a9736b6c [test-only] Api-test for sharing personal space (#6242) 2023-05-12 14:08:20 +05:45
Prarup Gurung
e208b3018a Removed step and implementation of setting share auto accept 2023-05-08 09:01:54 +05:45
Swikriti Tripathi
8e9e547e9d Unskip the test related to expiration date 2023-05-05 13:03:58 +05:45
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
73c327bdf0 Remove file sharing app 2023-05-04 12:42:14 +05:45
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
0bab802fb9 Update expected to fail file 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
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
Prarup Gurung
1a31aba659 Merge pull request #5983 from owncloud/remove-core-issue-tag-and-refactor-ocis-issus-tag
[full-ci] [tests-only] Removed core issue tag, refactored ocis-reva, ocis issue tag
2023-04-03 03:58:54 -07: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
Prarup Gurung
f3bf0894fc Removed core issue tag, refactored ocis-reva, ocis issue tag 2023-03-31 17:27:18 +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
Swikriti Tripathi
270bf06840 add skip on stable tag (#5940) 2023-03-28 15:11:41 +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
Prarup Gurung
3419eacb6d Removed step and implementation setting default share folder 2023-02-23 15:32:27 +05:45
Swikriti Tripathi
0087770191 Api tests for deleting the expiration date of a space (#5606) 2023-02-22 16:50:38 +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
f0319652a9 [test-only]ApiTest. increases permissions for one member of the group (#5536)
* increases permissions for one member of the group

* added indents
2023-02-10 11:44:14 +01:00
Swikriti Tripathi
91d6ee2578 Add api test to delete the expiration date from a share subitem of space (#5537) 2023-02-10 11:43:36 +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
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
486453b4c9 create share with expirate date. refactoring code (#5424) 2023-02-01 09:55:51 +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
Viktor Scharf
836c3d327a ApiTest. Change test create new tus resource (#5315) 2023-01-09 10:16:40 +01:00
Swikriti Tripathi
eab79a427f Extended public link tests to have more checks 2023-01-05 13:39:16 +05:45
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
2693161164 Address review 2023-01-05 12:58:17 +05:45
Swikriti Tripathi
7dbfcf63e0 Adds api tests to download folder from public link 2023-01-05 12:58:17 +05:45