* remove usage of a stepDef inside another in spacesContext
* fix CI
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
---------
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
* update given step using sharingNg in changeSpaces.feature
* update given step using sharingNg in disableAndDeleteSpaces.feature
* update given step using sharingNg in editPublicLinkOfSpace.feature
* update given step using sharingNg in filePreviews.feature
* update given step using sharingNg in listSpaces.feature
* update given step using sharingNg in publicLink.feature
* update given step using sharingNg in removeSpaceObjects.feature
* refactor given/when/then steps in spaces context
* pass the returned response without setting in then step
* added the missing when step whose response is checked by the then step
* addressed the reviews
* changed from decoded body to docoded response
* 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
* 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>
* 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
* 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
* 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
* 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