Commit Graph

11 Commits

Author SHA1 Message Date
Karun Atreya
46fde6240a [tests-only][full-ci] Backport refactoring webdav context removing setresponse() in given/then step (#7480)
* refactoring webdav context (setting response in when step only)

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

* setting response
2023-10-13 16:50:56 +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
Karun Atreya
fe8c0c7de8 refactor given and when steps in trashbin context (#7302)
applied same type of change in tagContext

addressed the reviews

added a space in step regex
2023-09-21 11:27:45 +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