Commit Graph

14 Commits

Author SHA1 Message Date
Sawjan Gurung
7c40340e0e [tests-only] extend trashbin restore API tests (#9126)
* test: add more edge-case tests on trashbin restore

* test: add more edge-case tests on trashbin restore
2024-05-13 09:52:39 +05:45
Phil Davis
86b931f176 tests: code review of acceptance tests 2024-04-29 13:47:08 +05:45
nirajacharya2
cb8109dc8f removing usage of a stepdefination inside another stepdefination in TrashbinContext (#8755) 2024-04-11 09:56:27 +05:45
Karun Atreya
903ab8e1f8 [tests-only] [full-ci] removing the setresponse in given/then step in webdav context (#7403)
* refactoring the given steps in the webdav context

* refactored remaining given/when/then steps

* return file id

* trim trailing from the folder path

* add missing when step and make other minor corrections

* set responseXml and correct status code check

* correct the naming of steps and helper functions
2023-10-11 16:15:31 +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
Karun Atreya
4d4b9128ea [tests-only][full-ci] removing the setresponse in given/then step in TrashbinContext and TagsContext (#7261)
* refactor given and when steps in trashbin context

* applied same type of change in tagContext

* addressed the reviews

* added a space in step regex
2023-09-15 15:31:25 +05:45
Karun Atreya
56c48df0bd [tests-only][full-ci]refactor for Intermittent test failures on coreApiTrashbin/trashbinDelete.feature (#6718)
* assert the response code after listing from trashbin

* set endpoint according to dav path and assert while listing

* php style fix

* changed comment

* changed as reviews
2023-07-12 12:26:51 +05:45
Phil Davis
0bc3d8646e Adjust test method tryToDeleteFileFromTrashbin 2023-06-05 13:37:30 +05:45
Phil Davis
f17351a063 Fix expected trashbin href for spaces 2023-05-11 11:41:10 +05:45
Phil Davis
9b9d88e7d6 Cleanup acceptance tests (#6195) 2023-05-02 17:25:56 +05:45
Prarup Gurung
aac714be9a Removed method runOcc from FeatureContext, and refactored code 2023-03-15 17:16:54 +05:45
Prarup Gurung
b56fcd6677 Removed use of occContext 2023-03-01 15:25:57 +05:45
Amrita
3a61f8c919 Removed DAV tech preview steps and related code (#5526) (#5530)
Co-authored-by: Prarup Gurung <grgprarup@users.noreply.github.com>
2023-02-08 15:30:49 +05:45
Kiran Parajuli
7d152e2ad1 Copied acceptance tests infrastructures from oC/core
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2023-01-05 09:21:34 +05:45