* 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>
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
* 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
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
* refactored the user creation given statement from provisioning to graph api
added getUser steps that covers the steps for user with user light role
* added userlight step tests to check drive information and updated expected failure files
* added usercreation initiation code
* deleted seperate tests for user light role
* remove unnecesary changes
* add user not initialize step
* corrected the testcode
* moved the steps from graph to provisioning file
* fix creating single ldap user
* fix: user check method
* initialize user via graph
* addressing reviews
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
removing setting response in the given steps
use response interface
use the returned response
check success response
changed to inline variable
changed variable response_xml to responseXml
* make user enable disable feature use graphapi
* change the step definition code for user disable action
* updated step definition code for user disable feature
* updated user disable implementation
* corrected the error of step implementation code
* 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